Advertisement
HristoBaychev

Speed Info

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