Advertisement
ydpetkov

speed_info

Jul 10th, 2022
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. speed = float(input())
  2.  
  3.  
  4. if speed <= 10:
  5.         print('slow')
  6. elif speed <= 50:
  7.         print('average')
  8. elif speed <= 150:
  9.         print('fast')
  10. elif speed <= 1000:
  11.         print('ultra fast')
  12. else:
  13.     print(('extremely fast'))
  14.  
  15.  
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement