Question #85187

Write a program that uses two input statements to get two words as input. Then, print the words on one line separated by a space.

Expert's answer

Answer

first_word = input('Please, enter first word: ')

second_word = input('Please, enter first word: ')

print('{} {}'.format(first_word, second_word))

Output:

Please, enter first word: Hello

Please, enter first word: World

Hello World


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