In this program, we will take two strings as input and combine two strings into one.
Steps to solve the program
- Take two strings as inputs.
- Combine them using “+” operator.
- Print the output.
#Input string
string1 = "abc"
string2 = "def"
#Printing output
print(string1 + string2)
Output :
abcdef