Question #98141

How do I write a program that uses two inputs statements to get two words as input. Then, print the words on one like separated by a space.

Expert's answer

word_one = input('Input first word: ')
word_two = input('Input second word: ')

print(f'{word_one} {word_two}')
LATEST TUTORIALS
APPROVED BY CLIENTS