Answer to Question #103701 in Python for Derek

Question #103701
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.
1
Expert's answer
2020-02-26T11:13:35-0500
first_name = input('Please input your first name: ')
last_name = input('Please input your last name: ')
print(last_name + ', ' + first_name)

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

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS