Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name = "John"
- age = 23
- if name == "John" and age == 23:
- print("Your name is John, and you are also 23 years old.")
- if name == "Rick":
- print("Your name is either John or Rick.")
- if name == "John" or name == "Rick":
- print("Your name is either John or Rick.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement