tmp = int(input("Please input the value:")) if tmp % 2 != 0: if tmp > MAX: MAX = tmp print("MAX=", MAX)以上的程式用了!= ,這就是「不等於」的意思。
確定! 回上一頁