Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
1

PRINT Doesn’t work?

ConnorAdams
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.

4 years ago

Voters

Comments

TopNew
1
yuhan240
yuhan240

Your need to do print(HELLO WORLD)

1 year ago
1

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.

4 years ago
2
Geocube101
Geocube101

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

4 years ago
Load more