Advertisement
VergeoPaw

1037

Sep 19th, 2021
644
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. n = float(input())
  2. if 0 <= n <= 25 :
  3.     print("Intervalo [0,25]")
  4. elif 25 < n <= 50 :
  5.     print("Intervalo (25,50]")
  6. elif 50 < n <= 75 :
  7.     print("Intervalo (50,75]")
  8. elif 75 < n <= 100 :
  9.     print("Intervalo (75,100]")
  10. else :
  11.     print("Fora de intervalo")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement