String Concatenation
string concatenation program contains first line of input contains the string a, second line of input contains the string b, third line of input contains the string c and fourth line of input contains the string t
for example, we have a=mari , b=to, c=zzo, and t=1321.
concatenate these in the order a+c+b+a and print the resulting string: marizzotomari as the output.
a = 'mari'
b = 'to'
c = 'zzo'
t = 1321
output = a + c + b + a
print(output)
Comments
Leave a comment