mardi 23 novembre 2021

Why does my if statement not work with my input? [closed]

I've been trying to perform a simple input and if statement, but for some reason, it always prints out "Bye". I'm a beginner, so I'd love to know why this happens.

Message = input("Enter Your Message")
if Message == "Hello":
    print("Hi!")
else:
    print("Bye")

Aucun commentaire:

Enregistrer un commentaire