Hi, when i implment any acrip in my device it work well, but when i try online it gives a syntax error in the print line !!! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Hi, when i implment any acrip in my device it work well, but when i try online it gives a syntax error in the print line !!!

also it can't identify the raw_input..... this happens in python

16th Mar 2017, 12:51 PM
Abuobida Abdalkarim Mohammed Yousif
Abuobida Abdalkarim  Mohammed Yousif - avatar
3 Answers
+ 1
i think you work in python2 and online it's python3 ... I think you should learn python3...
16th Mar 2017, 1:15 PM
Hbeo
Hbeo - avatar
+ 1
I thought. about that too, but In my phone, it works properly where python 3 is installed , and in my laptop it also work wonderfully where python 2 is installed. However the problem come when I execute it online
18th Mar 2017, 7:39 PM
Abuobida Abdalkarim Mohammed Yousif
Abuobida Abdalkarim  Mohammed Yousif - avatar
+ 1
the same code ? (in phone and laptop)
19th Mar 2017, 9:24 AM
Hbeo
Hbeo - avatar