by CodeChum Admin
We've tried adding together integers, now how about strings?
Instructions:
Input
A line containing two strings separated by a space.
hello·world
Output
A line containing the concatenated string with no spaces.
helloworld
string = input()
res = ""
for word in string.split():
res += word
print(res)
Comments
Leave a comment