desislava_topuzakova

06. Number in Range

Oct 21st, 2020
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. number = int(input())
  2. # [-100, 100] и е различно от 0
  3. if -100 <= number <= 100 and number != 0:
  4.     print('Yes')
  5. else:
  6.     print('No')
Add Comment
Please, Sign In to add comment