Advertisement
aneliabogeva

Прогноза за времето – част 2

Apr 15th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. gradus = float(input())
  2.  
  3. if gradus >= 26 and gradus <=35:
  4. print("Hot")
  5. elif gradus>= 20.1 and gradus <= 25.9:
  6. print("Warm")
  7. elif gradus >= 20.1 and gradus <= 25.9:
  8. print("Warm")
  9. elif gradus >= 15.00 and gradus <= 20.00:
  10. print("Mild")
  11. elif gradus >= 12.00 and gradus <= 14.90:
  12. print("Cool")
  13. elif gradus >= 5.00 and gradus <= 11.9:
  14. print("Cold")
  15. else:
  16. print("unknown")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement