Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Python 3.3.2
- >>> x = 10
- >>> if (x<10) or (x>20):
- ... print("x is bad")
- ... elif 10 < x < 20 :
- ... print("x is good!")
- ... else :
- ... print("x is werid")
- ...
- x is werid
- >>> x = 11
- >>> if (x<10) or (x>20):
- ... print("x is bad")
- ... elif 10 < x < 20 :
- ... print("x is good!")
- ... else :
- ... print("x is werid")
- ...
- x is good!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement