python-3 三大結構

if 條件表達式:             語句1python             語句2spa             .......code note:條件表達式後的冒號不能少orm            根據縮進進行判斷代碼塊class num=8 if num>8: print("大於8") print("小於8") num=8 if num>8: print("大於8
相關文章
相關標籤/搜索