0

Why is that double apostrophe used immediately after +sign in print("first string"+","+"second string")

17th Jul 2019, 1:57 PM
Alok Biradar
Alok Biradar - avatar
2 Respostas
+ 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👍👍
17th Jul 2019, 2:15 PM
Prince PS[Not_Active]
Prince PS[Not_Active] - avatar