Python中的循環以及break/continue/else/pass

轉:http://blog.csdn.net/u010278162/article/details/52102574 While和For循環。 1、while。 結構: while 條件:     opts else:     opts 一個簡單的小例子: [python]  view plain  copy i = 0   while i < 10 :       print i        
相關文章
相關標籤/搜索