0
Can we creat concatenations like "first string' + "second string' ?
3 Réponses
+ 1
yes it can be done by using concate function
0
No, You can use "First string " + "Second String " or you can use 'First String ' + 'Second Stting'
0
if you try concatenating like that it'll create an error.
instead use single or double quotations but keep to whichever throughout
e.g. print('first string '+'second string') or
print("first string "+"second string")
you can use double quotes within a string for quotations
e.g. print('she said '+'"hmm pizza"')