Concatenate the two strings into a long string and print the long string. The longer string must be concatenated in front of the shorter one.
Let's assume, we have strings s1 and s2
s = s1 + s2 if len(s1) >= len(s2) else s2 + s1 print(s)
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment