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. Your program's output should only include the two words and a space between them.
Hint: To print both words on one line, remember that you can concatenate (add) two phrases by using the + symbol. Don't forget that you'll need to add a space between the words as well.
Sample Run
Enter a word: Good
Enter a word: morning
Good morning
Answers
Answered by
4
Answer:
print('Enter a word:')
a=input()
print('Enter a word:')
b=input()
print(' '+a+' '+b)
Explanation:
Similar questions
English,
5 months ago
CBSE BOARD X,
5 months ago
English,
10 months ago
World Languages,
10 months ago
CBSE BOARD X,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago