+ 1

Why we have to use + symbel while writing string...

5th Oct 2018, 2:06 PM
rafeek
rafeek - avatar
4 odpowiedzi
+ 3
in print("hello","world") yes But if want to store it in a variable, you need +
5th Oct 2018, 2:21 PM
Matthias
Matthias - avatar
+ 2
What do you mean exactly? To combine two strings you can "add" them. For example: "hello" + " " + "world" gives "hello world"
5th Oct 2018, 2:15 PM
Matthias
Matthias - avatar
+ 1
without +symbel also we can add two string eg. "hello","world" gives "helllo ,world".
5th Oct 2018, 2:19 PM
rafeek
rafeek - avatar
+ 1
hooo k thakyou😊
5th Oct 2018, 2:22 PM
rafeek
rafeek - avatar