write a python program to perform string concatenation
Answers
Answered by
14
Answer:
String Concatenation
x = "Python is " y = "awesome" z = x + y. print(z) ...
Merge variable a with variable b into variable c : a = "Hello" b = "World" c = a + b. ...
To add a space between them, add a " " : a = "Hello" b = "World" c = a + " " + b. ...
x = 5. y = 10. print(x + y) Try it Yourself »
x = 5. y = "John" print(x + y) Try it Yourself
Similar questions
Social Sciences,
3 months ago
English,
3 months ago
Hindi,
6 months ago
English,
6 months ago
Physics,
10 months ago