[Tutor] Problem with if statements and else statements

Jalen Barr jalenbarr1 at gmail.com
Sat May 27 17:23:12 EDT 2017


I am in Python version 3.6.1

On Sat, May 27, 2017 at 4:19 PM, Jalen Barr <jalenbarr1 at gmail.com> wrote:

> 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