Code playground not working | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Code playground not working

for i in range(0,10): print i It reports an error Syntax error missing parentheses in call to print

26th Jun 2016, 7:31 PM
Rahul
2 Réponses
+ 2
The playground is running Python version 3. You should use parentheses for the print function, print(i)
26th Jun 2016, 7:47 PM
James Flanders
+ 1
use" print(i)"
26th Jun 2016, 8:05 PM
Shantam Vijayputra
Shantam Vijayputra - avatar