... 判斷。例如:使用 while 迴圈建立猜數字遊戲,在迴圈中使用 if/else 條件判斷是否猜 ... int(input("請輸入猜測的數字(1~100) => ")) if target == guess: # if條件敘述 ...
確定! 回上一頁