Im very new to Python and decided I would try some basics.
Why does this always evaluate to true? Typing in "False" as UserInput should evaluate False?
true_or_false=input("Is it true or false?")
if true_or_false:
print("It's true")
if not true_or_false:
print("Well,it is not true")
Using newest Python Version (3.smth)
Aucun commentaire:
Enregistrer un commentaire