Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = True
- y = False
- # AND operation
- x_and_y = x and y
- print(x_and_y)
- #Output: False
- # OR operation
- x_or_y = x or y
- print(x_or_y)
- #Output: True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement