desislava_topuzakova

10. Invalid Number

Oct 21st, 2020
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. number = int(input())
  2. # [100…200] или е 0
  3.  
  4. if not (100 <= number <= 200 or number == 0):
  5.     print('invalid')
Add Comment
Please, Sign In to add comment