Advertisement
ydpetkov

weather_forecast_part_2

Jul 14th, 2022
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. degrees = float(input())
  2.  
  3. if degrees >= 26.00:
  4. print('Hot')
  5. elif degrees >= 20.01:
  6. print('Warm')
  7. elif degrees >= 15.00:
  8. print('Mild')
  9. elif degrees >= 12.00:
  10. print('Cool')
  11. elif degrees >= 5:
  12. print('Cold')
  13. else:
  14. print('unknown')
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement