Big if


#1

Hey Guys!

Tell me what is wrong with my code. Much appreciated!

Sasha


#2

In your if statement, the => should be >= instead.


#3

intermediategamer thank you so much. Now it tells me something wrong with elif line. Both statements look fine to me: one is true, one is false. Code written correctly.


#4

In your elif statement, the = makes Python think your assigning something, but that's incorrect. You want to use == instead so Python can know its equal (the same) to it. :slight_smile:


#5

intermediategamer Thank you so much! I knew it but somehow did not see it. Also I forgot to put : in the end of else statement. I just have to be more attentive to details


#6

That's great! I'm glad it works! :smiley: Happy coding! :slight_smile:


#7

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.