What am i not seeing? spam=true?


hello i am on pthyon having trouble creating a variable “spam” and assigning it the value of "true"
when i follow the instructions the code says true has not been defined
i am writing spam=true


Are you writing spam=true or spam = true

That’s not even the problem, scrap that. Try capitalizing true.


sorry, i did not capitalize True…so the correct way was “spam = True”…another question…the spacing of “=” when writing the code…does it matter? ex: spam=True or spam = True


I’d say that 99% of programmers will write spam = True, and you should too :wink:

We should always attempt to make the code as easy to read as possible.


ok thank you for replying:+1:


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