What is concatenation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

What is concatenation

29th Jan 2021, 2:01 AM
Kiran
Kiran - avatar
7 Answers
29th Jan 2021, 2:18 AM
Alphin K Sajan
Alphin K Sajan - avatar
+ 6
Joining together of two strings or lists.
29th Jan 2021, 3:28 AM
Sonic
Sonic - avatar
+ 5
String Concatenation is the technique of combining two strings. String Concatenation can be done using this 4 ways. There are 4 ways to concatenation . 1. Using + operator (a + b) 2. Join method (' '.join([a, b])) 3. Using % operator ("% s % s" % (a, b)) 4. Using format method "{} {}".format(a, b)
29th Jan 2021, 6:38 PM
Adamyan
Adamyan - avatar
+ 3
Adding two strings together
29th Jan 2021, 4:03 AM
Çīñæøûœ👽
Çīñæøûœ👽 - avatar
+ 2
The process of addition of two strings together Like print('spam'+'eggs') Output spameggs
29th Jan 2021, 11:54 AM
∆BH∆Y
∆BH∆Y - avatar
+ 2
Adding or joining of two strings together is concantation.
30th Jan 2021, 11:20 PM
❤️😍Prerana😍❤️
❤️😍Prerana😍❤️ - avatar
0
Its is the addition of two strings. For instance: print("Hello " + "Seg") The ouput will be: Hello Seg
30th Jan 2021, 5:44 PM
Farai N Mandizvidza
Farai N Mandizvidza - avatar