Ask coding questions

← Back to all posts
PRINT Doesn’t work?
ConnorAdams

While trying to code, I typed PRINT “HELLO WORLD” and an error appeared. Is there something wrong with the compiler? It works fine on all of my other compilers.

Voters
ConnorAdams
Comments
hotnewtop
Geocube101

Using python 3, print was turned into a function.
Correct Code: print("HELLO WORLD")

[deleted]

At this moment you are coding in python 2.7. But if you are running a python 3 you will have to put brackets around it. Repl.it does support python 2.7.