python - Invalid string syntax error -


this question has answer here:

why following code crash?

i'm following along tutorial, , seems version bit newer 1 i'm following. syntax wrote makes complete sense me, yet claims it's invalid syntactically:

var1 = "hello world! "  print var1 

or:

print "hello world!" 

in python 3.x, print function, have call it.

for example,

print('hello world') 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -