Answer to Question #85187 in Python for oishi dass

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.
1
Expert's answer
2019-02-18T05:48:43-0500

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!

Comments

Assignment Expert
03.09.19, 22:35

Dear visitor,
please use panel for submitting new questions

dunk
03.09.19, 22:07

Write a program that asks the user to input their first and last names. The first prompt should state:

Please input your first name:
The second prompt should state:

Please input your last name:
After accepting the inputs, your program should output the input in the form last name, first name.

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS
paypal