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.

Expert's answer

first_name = input('Please input your first name: ')
last_name = input('Please input your last name: ')
print(last_name + ', ' + first_name)
LATEST TUTORIALS
APPROVED BY CLIENTS