python3筆記 7 包、模塊、函數與變量作用域

7-1 while循環與使用場景 while循環和for循環 counter = 1 while counter <= 10:     counter += 1     print(counter) else:     print('Eof')    #while結束後會執行else ctrl + c 結束死循環 遞歸適合用while 7-2 for與for-else循環  for主要是用來遍歷/
相關文章
相關標籤/搜索