Answer to Question #142840 in Python for Michael Zazuri

Question #142840

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.


1
Expert's answer
2020-11-06T09:40:53-0500

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?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS