請教下為啥會運(yùn)行失???
# Enter a code
# coding:UTF-8
age = int(input("請輸入年齡:"))
if age > 18:
? ? print("咚咚的年齡:{}".format(age))
? ? print("咚咚是成年人")
? ? print("adult")
else:
? ? print("咚咚是未成年")
# Enter a code
# coding:UTF-8
age = int(input("請輸入年齡:"))
if age > 18:
? ? print("咚咚的年齡:{}".format(age))
? ? print("咚咚是成年人")
? ? print("adult")
else:
? ? print("咚咚是未成年")
2022-04-11
舉報
2022-05-29
試試不在網(wǎng)站在線運(yùn)行,換到自己的計算機(jī)中的運(yùn)行環(huán)境試試?
2022-04-12
代碼沒問題