Question #292501

Input Combination

by CodeChum Admin

We've tried adding together integers, now how about strings?


Instructions:

  1. Input two strings in one line, separated by a space.
  2. Concatenate the two strings and print out the result.

Input

A line containing two strings separated by a space.

hello·world

Output

A line containing the concatenated string with no spaces.

helloworld




Expert's answer

string = input()
res = ""
for word in string.split():
	res += word
print(res)

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!

LATEST TUTORIALS
APPROVED BY CLIENTS