+ 1

Help!!! Working in linux but not here

im facing a couple of trouble.i just want to post my own script in here.here is my project https://code.sololearn.com/cLB83wJmt72U/?ref=app working well in linux with python 2.7.whats wrong here? im already import necessary module and clarify python version with #!/usr/bin/env_python2.7 whats missing?

11th Jul 2017, 7:50 AM
Kevin AS
Kevin AS - avatar
4 ответов
+ 5
Translating Python2 to Python3 isn't very difficult and is a good exercise ;) http://sebastianraschka.com/Articles/2014_python_2_3_key_diff.html
11th Jul 2017, 8:03 AM
visph
visph - avatar
+ 5
In code playground you are mandatory to use Python3 (#!/user/bin/env_python2.7 will not have any effect ^^)
11th Jul 2017, 7:57 AM
visph
visph - avatar
0
😥
11th Jul 2017, 7:58 AM
Kevin AS
Kevin AS - avatar
0
thanx guys,i saw that website.raw_input is dissapear in py 3.i will convert those problems
11th Jul 2017, 8:10 AM
Kevin AS
Kevin AS - avatar