課程學習


Raw_number = input('請輸入今天溫度')
number = int(Raw_number)
fahrenheit_temperature = (number) * (9/5) + 32
print ('攝氏溫度:'+ str(number)+'度' + '是華氏溫度:' + str(fahrenheit_temperature)+'度')

if fahrenheit_temperature >= 75:
  print ('summer is coming'.lower())
else:
  print ('you should wear coat'.upper())

https://replit.com/@DorothSong/pr3#main.py







你可能感興趣的文章

[keybr]_Day04

[keybr]_Day04

Day04  增加資料(上) + RecycleView  Adapter

Day04 增加資料(上) + RecycleView Adapter

第一週:暖身週(掌握 Git 與 Command line 操作)

第一週:暖身週(掌握 Git 與 Command line 操作)






留言討論