Question #300963

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.




Expert's answer

a = 'mari'


b = 'to'


c = 'zzo'


t = 1321


output = a + c + b + a


print(output)


LATEST TUTORIALS
APPROVED BY CLIENTS