Tell me what is wrong with my code. Much appreciated!
if statement, the
=> should be
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.
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.
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
That's great! I'm glad it works! Happy coding!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.