Challenge: Write a program that will ask user for his or her first and last name and print them with last name first. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Challenge: Write a program that will ask user for his or her first and last name and print them with last name first.

Write a program that will ask user for his or her first and last name and print them out last name first Using python.

23rd Jul 2018, 10:07 AM
Abdulsalam Musa
Abdulsalam Musa - avatar
1 ответ
+ 4
def names(): first = input("first name?:") last = input("last name?:") print(last, first) return last, first print(names())
23rd Jul 2018, 10:16 AM
Markus Kaleton
Markus Kaleton - avatar