why this code ain't working on playground? i am new in python learning. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

why this code ain't working on playground? i am new in python learning.

watching tutorial and testing the code on playground. but ain't working. I just copied the whole code here. ain't working https://code.sololearn.com/cgF8G7myMtOa/?ref=app

27th May 2017, 12:35 PM
Isomer
Isomer - avatar
8 ответов
+ 3
I'm not a python developer but the error is explicitly described. You need parentheses for every print you have. print ("something")
27th May 2017, 12:41 PM
CHMD
CHMD - avatar
+ 2
That's because of the limitations of the code playground. try to run your code in a PC or try an online compiler to see the output.
27th May 2017, 12:57 PM
CHMD
CHMD - avatar
27th May 2017, 1:04 PM
CHMD
CHMD - avatar
+ 1
I did. it's showing "memory exceed limit " 😷😷
27th May 2017, 12:49 PM
Isomer
Isomer - avatar
+ 1
On android... QPython3 .. works very well
27th May 2017, 1:03 PM
LordHill
LordHill - avatar
+ 1
@Kingdx, after asking that question I searched on online about best online compiler,google showed about this site. but sad to say it seems it doesn't have copy paste way. my code is too long, lazy to type 😷 and thanks a lot
27th May 2017, 1:11 PM
Isomer
Isomer - avatar
0
which is the good online compiler site? I tried on ideone ain't working
27th May 2017, 12:59 PM
Isomer
Isomer - avatar
0
@Justin thanks
27th May 2017, 1:09 PM
Isomer
Isomer - avatar