0
when i type go for printing a variable, it shows me syntex error. I checked the syntex and couldn't find anything wrong. What is the problem?
7 Antworten
+ 1
the print code in python ver 3+ is different with ver 2
+ 1
the code i did was for a variable. after typing print i typed the variable name in paranthesis. that is how it showed in the tutorial.
+ 1
"type go" was typo😅
0
send me your code
0
you should whrite in ver 3+ simple print ("name") and in ver 2 python print "name"
0
write
- 1
can you post the code? what do you mean for "type go for printing"?
python 2.7 has print "a string"
python 3 has print("a string")