0

Why doesn't my else show up?

print("Random survey") x = input(str("How are you feeling today?: ")) print(x) y = ("Good" or "Fine" or "Happy" or"Excited") z = ("Bad" or "Sad" or "Not okay" or "Not good") if x == y: print("\nGood to know :))") if x == z: print("\nCheer up!! I'm always here for you :))") else: if x != y or z: print("\nI hope you have a nice day!!")

23rd Mar 2020, 10:18 AM
Tonje
Tonje - avatar
2 Answers
0
You have already posted a question in regards to this code. https://www.sololearn.com/Discuss/2210756/?ref=app
23rd Mar 2020, 10:22 AM
Ipang