subject
Computers and Technology, 12.03.2021 15:20 schwann

Many documents use a specific format for a person's name. Write a function format_name that takes a single parameter name, which contains a person's full name and outputs last name followed by the initials of the first name (and middle name, if applicable). The assumption is that the last name will always be the last word in the input string. If the input is:
firstName middleName lastName
the output should be:
lastName, firstInitial. middleInitial.

>>> format_name("firstName middleName lastName") lastName, firstInitial. middleInitial.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
Acase study allows a more detailed look at the life of a single subject than any other study.
Answers: 3
question
Computers and Technology, 22.06.2019 23:00
Which type of tab stop is most for weights and measurements?
Answers: 1
question
Computers and Technology, 23.06.2019 03:00
State 7 common key's for every keyboard
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
Other - a written response, no less than arial 12-point font, to the following: of the following, which would you consider is most important to customer service goals? choose one and explain why. (1) accuracy (2) punctuality and attendance (3) courtesy (4) productivity (5) organization
Answers: 1
You know the right answer?
Many documents use a specific format for a person's name. Write a function format_name that takes a...
Questions
question
Mathematics, 12.10.2020 19:01
question
History, 12.10.2020 19:01
question
Mathematics, 12.10.2020 19:01
question
Biology, 12.10.2020 19:01
question
Mathematics, 12.10.2020 19:01
Questions on the website: 13722367