0

Working on python 3 but not in python 2 why? Showing error at "end=" (showing as syntax error)[solved]

https://code.sololearn.com/cdMZEDV51PAr/?ref=app

10th Nov 2018, 1:27 PM
partha
partha - avatar
3 Réponses
+ 7
Just see the difference in print. end="" is not supported in py2. It's only for py3. https://sebastianraschka.com/Articles/2014_python_2_3_key_diff.html#the-print-function
10th Nov 2018, 1:38 PM
Arushi Singhania
Arushi Singhania - avatar
+ 1
10th Nov 2018, 1:39 PM
partha
partha - avatar
0
Syntax is changed I think
10th Nov 2018, 1:34 PM
Roneel
Roneel - avatar