請教下為啥會運行失?。?/h1>
# 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-05-29
試試不在網(wǎng)站在線運行,換到自己的計算機中的運行環(huán)境試試?