0
In print your name in symbol,i run error,why?
when i copy the code to run ,which reveals some errors.why?and i use the python version is python 2.7. Thanks. https://code.sololearn.com/choPH1o6IcnY/#py
4 Réponses
0
Python 3 print's syntax is different from python2,
py3: print("hello world")
py2: print "hello world"
0
Thank you @Tony Loa,I have tried to revised in your way. but,it has the same error
0
I tried to convert this code to py2 and it was very easy. Change all built-in "print()" to "print ' '" , but don't touch auther's function "print_text_in ..." and change "input()" to "raw_input()", should work!
0
I have solved it, Thank you very much!