i m not getting anything of python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

i m not getting anything of python

whenever i right a program its showing invalid syntax like i am practicing to write <<<print('Hello world!') hello world! what i am doing wrong plz explain

30th Jan 2019, 10:30 AM
Absar Noor
Absar Noor - avatar
2 Answers
+ 8
'>>>' is prompt symbol of the Python console You don't use it while writing codes https://stackoverflow.com/q/16420078/9132046
30th Jan 2019, 11:11 AM
Mert Yazıcı
Mert Yazıcı - avatar
+ 2
Don't use "<<<" or anything else before your code.
30th Jan 2019, 10:33 AM
Maneren - avatar