print ("Hello earth")
and this how python 2 print function look like
print "Hello earth"
It a bit confusing sometime but when you do more practice you gonna be better for it. I didn’t try to make game on my own yet but I try to follow there instruction first to some python game on this website: https://trinket.io/ .