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 05:00
Which two editions of windows 7 support 64 bit cpus? choose two out of professional, business, starter, or home premium.
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Which best describes the role or restriction enzymes in the analysis of edna a. to break dna into fragments that vary in size so they can be sorted and analyzed b. to amplify small amounts of dna and generate large amounts of dna for analysis c. to purify samples of dna obtained from the environment so they can be analyzed d. to sort different sizes of dna fragments into a banding pattern that can be analyzed
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Jace needs to answer a question on square roots to win a quiz. how can he use a spreadsheet to find the square root of 786? a. use the functions round and count b. create a table and chart c. use the function sqrt d. use the function now
Answers: 3
question
Computers and Technology, 24.06.2019 09:00
Why might you chose to crest a function resume
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
Social Studies, 24.09.2019 22:30