0
Why is that double apostrophe used immediately after +sign in print("first string"+","+"second string")
2 Antworten
+ 6
print("First String" (+) "," (+) "Second String")
Hii bro🤗🙋
Now let us see
The first set of "" double quotes are for the first string
similarly last sets "" are for the second string
Now it gets to the middle one.
Look , you have used + sign to concatenate
So actually u are doing is that you are adding the first string with comma and then with second string
That results in it :
"First string" + "," + "second string"
And for adding we also need to convert (,) into a string zo to convert it , we place double quotes around it.😉
Thanks👍👍