Python Syntax Matter of Interpretation


Hi Everyone!

I have a question with this topic. The question I'm supposed to solve is-

Create a variable called spam and assign it the value of True.
Create a variable called eggs and assign it the value of False.

So, I coded-

eggs = False;

But it keeps asking me if I defined a variable called spam?

Can I check why I'm wrong and what the solution is?

I've been doing this for ages and its driving me crazy.


why do you use semi-colons? Python doesn't use semi-colons. For the rest, the code is fine, if the problem persist, try a different browser, you browser might be sending cached data


Ok! Thank you so much :)))) good luck with your coding too!!