+ 1

Python syntax error

I typed this >>>print('Hello world!') in python and I keep getting a syntax error. What am I doing wrong?

30th Jan 2018, 4:42 PM
Sammy Nakedi Matlaila
Sammy Nakedi Matlaila - avatar
4 ответов
+ 2
don't type >>> before the code
30th Jan 2018, 4:44 PM
Abdurrahman Abulgasim
Abdurrahman Abulgasim - avatar
+ 2
welcome friend
30th Jan 2018, 5:01 PM
Abdurrahman Abulgasim
Abdurrahman Abulgasim - avatar
+ 2
>>> you find it written in python idle or terminal but it is not from the code so you should not write it at all good luck
30th Jan 2018, 5:04 PM
Abdurrahman Abulgasim
Abdurrahman Abulgasim - avatar
+ 1
thank you.
30th Jan 2018, 5:01 PM
Sammy Nakedi Matlaila
Sammy Nakedi Matlaila - avatar