學習Python第二天

今天學習的主要內容是條件與循環 if 語句 Python中if語句的一般形式如下所示: 如果 「condition_1」 爲 True 將執行 「statement_block_1」 塊語句,如果 「condition_1」 爲False,將判斷 「condition_2」,如果"condition_2" 爲 True 將執行 「statement_block_2」 塊語句,如果 「conditi
相關文章
相關標籤/搜索