python條件判斷以及循環語句

python條件判斷以及循環語句 1.if語句的格式 if 表達式:     滿足表達式執行的語句1..... elif 表達式:     滿足表達式執行的語句2..... elif 表達式:     滿足表達式執行的語句3..... else:     不滿足表達式執行的語句..... 2.三目運算符的實現 num1 = input() num2 = input() max = num1 if
相關文章
相關標籤/搜索