+ 1
Why am I getting this error?
Hi guys, when I try to compile the codes you see below, it says "source_file.py line 2 print (x)" or something, I'm using python 3, I wonder why? x = 123.456 print (x) x = "hi" print (x + "!")
4 Answers
+ 4
Identation error.
Save it and share link of code so it is understandable how you are writing this?
Your All lines should start without space.
+ 2
Indentation is critical in Python.
Do not indent the lines
+ 1
Ok guys, thanks i solved that