Python基礎2:輸入輸出&異常處理&控制結構

一、輸入輸出 1、輸入 input()函數 2、輸出 print( [,sep=’ ‘, end=’\n’]) 二、控制結構 while 條件 for 條件 if 條件 else if 條件 elif 條件… else 三、錯誤處理 try-except: rasie:
相關文章
相關標籤/搜索