[Tutor] Problem with if statements and else statements

Jalen Barr jalenbarr1 at gmail.com
Sat May 27 17:19:08 EDT 2017


In this code it always changes the PlaceHolder to 0 no matter what Month is
set to

Month ="September"

if Month == "January" or "1":
    PlaceHolder = 0
else:
    print("Information Error")
print(PlaceHolder)


More information about the Tutor mailing list