條件判斷也就是常聽到的 if 和 if-else ,不過在python中,還會出現 if-elif-else 。 if 用法:在if句尾加上 : 。 if範例price = 120 if price ...
確定! 回上一頁