- Joined
- Nov 23, 2023
- Messages
- 1
- Reaction score
- 0
# I'm unsure how to write this I want to ask for an input then do something based on the input for example.
def ask():
ask = input("type y/n: ")
ask == "Y" or "y"
if ask != "Y" or "y":
print("problem")
# this always prints "problem" no matter what why?
def ask():
ask = input("type y/n: ")
ask == "Y" or "y"
if ask != "Y" or "y":
print("problem")
# this always prints "problem" no matter what why?