Advertisement
KNenov96

dopulnitelni_zadachi N10

May 7th, 2022
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None | 0 0
  1. temperature = float(input())
  2.  
  3. if temperature >= 26 and temperature <= 35:
  4.     print('Hot')
  5. elif temperature >= 20.1 and temperature <= 25.9:
  6.     print('Warm')
  7. elif temperature >= 15 and temperature <= 20:
  8.     print('Mild')
  9. elif temperature >= 12 and temperature <= 14.9:
  10.     print('Cool')
  11. elif temperature >= 5 and temperature <= 11.9:
  12.     print('Cold')
  13. else:
  14.     print('unknown')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement