+ 2
Syntax error in code from Python Docs
This code is coped form documentation: for x in range(0, 3): print "We're on time %d" % (x) ERROR: File "..\Playground\", line 2 print "We're on time %d" % (x) ^ SyntaxError: invalid syntax https://code.sololearn.com/c62gkW8nD4m3/#py documentation: https://wiki.python.org/moin/ForLoop it is literaly the same why it dosnt work ??
3 Answers