Python Syntax Error


#1

I don't see what is wrong with my code?!
I have the ERROR: Oops try again. Did you create the variable python?

PLEASE HELP

:grinning:
Code:

#Code Start!

monty = True

python = 1.234

monty_python = python** 2

#2

It should work, also try using comma instead of a point.
Refresh browser? Anyways, goodluck! :smile:


#3

It is still not working?!
:confounded:


#4

Which lesson number is it??



#5

I cant find it but I have seen it before. So i can give you my code. I have already passed it. I need the lesson number thought @thezgamer3000.


#6

It is Lesson 13 Bringing it all together, Python Syntax

Please help me with this


#7

This is my successful code:

monty= True
python=1.234
monty_python=python ** 2


#8

Thank you very much!


#9

Thanks micro, was stuck on this myself.
I still dont understand what I was doing wrong but
woop d doo. Thanks again.


#10

I think its because you write monty_python = python** 2 , normally its monty_python = python ** 2
(theres a space between python and *)


#11

I need help on exercise 11 someone please help me!


#12

@partynholland show your code


#14

I had this same problem and it was driving me nuts, thanks for posting! Also, thank you @microjumper57512 for your code, I had no idea a period instead of a comma or nothing at all made the necessary difference. wow.


#15

https://www.codecademy.com/courses/python-beginner-2W5v7/1/2?curriculum_id=4f89dab3d788890003000096#


#16

I have a EOL syntax error while scanning string literal
1"""Hello this is the news,
2 python is interesting.
3""""
The comment says File "python", line 3
"""Hello this is the news,
python is interesting.
""""

^

SyntaxError: EOL while scanning string literal
Can anyone help please? I don't know what to do. What does this mean?
Thank you
Nichola


#17

I can help you... what do you need help with exactly? I have a working code for all of Python SYNTAX.


#18

you would just need to intent it properly


#19

Python Syntax Codes


#20

YOU TALK TO MUCH
SHUT UP AND KEEP TYPING CODE!!!:kissing_heart: