desislava_topuzakova

10. Invalid Number

Apr 17th, 2021
843
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # число -> int
  2. # валидно -> [100; 200] или е 0 -> не печатаме нищо
  3. # невалидно -> invalid
  4. number = int(input())
  5. if not (100 <= number <= 200 or number == 0):
  6.     print("invalid")
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.

×