Discuss / Python / input函數問題

input函數問題

Topic source

混xiaoxiao

#1 Created at ... [Delete] [Delete and Lock User]

請問input函數輸1982要在哪邊輸入呢?我怎麼打,都顯示錯誤,謝謝

s = input('birth: ') birth = int(s) if birth < 2000: print('00前') else: print('00后')

二月月RY

#2 Created at ... [Delete] [Delete and Lock User]

运行啊

混xiaoxiao

#3 Created at ... [Delete] [Delete and Lock User]

RY 大大,方便提供一下原碼嗎?按運行都失敗,感謝


  • 1

Reply