Bringing it all together task


#1



https://www.codecademy.com/en/courses/introduction-to-python-6WeG3/4/1?curriculum_id=4f89dab3d788890003000096#

I am getting the error:

Oops, try again. Did you create a variable called monty?

And in the box on the right in red letters:

File "python", line 1
* this is a comment
^
SyntaxError: invalid syntax

Could someone please tell me what I am doing wrong? Thank you
Here is my code as it is now:

* this is a comment
monty=True
python=1.234
monty_python=python**2


#2

* this is a comment

for single line comment we use # not *


#3

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