#P78. 相應的數字

相應的數字

題目描述

編寫一個Python程序,提示用戶輸入"one" "two" "three" "four" "five"中任一單詞,然後顯示其相應的數字。

當用戶輸入未知文字時,顯示"I don't know this number!"

輸入格式

輸入"one" "two" "three" "four" "five"中任一單詞

輸出格式

顯示其相應的數字,即1 / 2 / 3 / 4 / 5;

當用戶輸入其他時,顯示"I don't know this number!"

 

提示:如要列印「'」,需要打「\'」

例子:列印「I'm lovin't it」需要 print('I\'m lovin\'t it')

Samples

["threee","three"]
["I don't know this number!","3"]

原始資料

  • Zero1 題號:a078
  • Hydro 題號:Z0078
  • Locale:zh_TW
  • Display:open