desislava_topuzakova

06. Number in Range

Apr 17th, 2021
736
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # цяло число -> int
  2. # 1. [-100; 100]
  3. # 2. != 0
  4. number = int(input())
  5. if -100 <= number <= 100 and number != 0:
  6.     print("Yes")
  7. else:
  8.     print("No")
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×