0

Can we creat concatenations like "first string' + "second string' ?

31st Jul 2016, 3:34 PM
BerraBezer
3 Respuestas
+ 1
yes it can be done by using concate function
31st Jul 2016, 5:49 PM
Subham Kedia
Subham Kedia - avatar
0
No, You can use "First string " + "Second String " or you can use 'First String ' + 'Second Stting'
1st Aug 2016, 5:56 PM
Pradeep Bilaiya
Pradeep Bilaiya - avatar
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"')
8th Aug 2016, 11:51 AM
tracy
tracy - avatar