+ 1
How to print in python (a) print (' one ') (b) print ("one ") . Which are correct please answer
#code #solo learn
6 Antworten
0
no problem man
+ 2
Both should output your text. When working with strings single and double quotation marks work. :)
+ 2
Thanks Boos ❤️
0
I agree with Alexander Crum
Python accepts both variants of quotation marks
0
Alexander which country you live bro..
0
you could also use multilines string by enclosing them in triple quotes (either single or double):
print("""Hello,
World!""")