0
Need help
print("First string" + ", " + "second string") In the above why do we add double apostrophes after comma? + ", " +
7 Answers
+ 1
Sylvin Dias Anything you will write inside apostrophe will display in output.
+ 2
Because you want to add comma also between two string.
Your output will be :
First string, second string
+ 2
Sylvin Dias Yes it's for comma like you do with string.
+ 2
Sylvin Dias Check another example
print("2" + " + " + "2" + " = " + "4")
Here output will look like this
2 + 2 = 4
0
i get that! but what does the double appostrophe do? is it for the comma?
0
great got it! thank youđ
0
ahh okay! so I need to add â+â so I can see the plus in the output and the plus without the apostrophe is a function.