You can't write 'print' in a comment statement?!


#1

So I made a comment that contained the word 'print' because it was part of my translation of what the code meant. I do that so that I can more easily read code. I submitted my code post commenting and it said that I had to delete the 'print' words in my comment. Why is that?

Thanks! Appreciate it :smile:


#2

If Codecademy is reading your source code and is counting the number of prints, then sure, it might complain.

It doesn't affect Python, it's a comment, it's ignored.