Write a python program to join two strings together.
Answers
Answered by
3
Answer:
1:- x = "Python is " y = "awesome" z = x + y. print(z).
2:- Merge variable a with variable b into variable: c : a = "Hello" b = "World" c = a + b.
3:- To add a space between them, add a " " : a = "Hello" b = "World" c = a + " " + b.
4:- x = 5. y = 10. print(x + y) Try it Yourself ».
5:- x = 5. y = "John" print(x + y) Try it Yourself ».
Similar questions