3. The More, The Lengthier
by CodeChum Admin
I think it's already a given that two sentences combined will always be longer than a single sentence alone, but to prove just how long two sentences can be, why don't we let our program show the combined length of the two randomly inputted strings?
Let's get it on!
Input
Two lines containing a string on each.
Python is fun
I love CodeChum
Output
A single line containing an integer.
28
s1 = input()
s2 = input()
print(len(s1+s2))
Comments
Leave a comment