Python 3 學習筆記之——基礎語法

1. a, b = a, a + b 先計算右邊表達式,然後再同時賦值給左邊。 2. 條件控制和循環語句 條件控制 if condition_1: statement_block_1 elif condition_2: statement_block_2 else: statement_block_3 while 循環 while condition: statem
相關文章
相關標籤/搜索