skdancer07 skdancer07
  • 07-06-2022
  • Computers and Technology
contestada

9.2.8 last names codehs

Respuesta :

lhmarianateixeira
lhmarianateixeira lhmarianateixeira
  • 17-06-2022

Using the knowledge of computational language in python it is possible to write a code that tries to organize the names in an assorted way and any name can be included.

Writing code in python:

names_list = []

for i in range(0, 5):

   names_list.append(input("Name: "))

sorted_last_names = sorted([name.split()[-1] for name in names_list])

print(sorted_last_names)

See moer about python at brainly.com/question/18502436

#SPJ1

Ver imagen lhmarianateixeira
Answer Link

Otras preguntas

Roger Sherman helped construct the ???
48 over 120 = x over 100 cross multiply to get answer of x
Which approach is most appropriate for an environmental science essay meant for fellow high school students? using direct language and simple vocabulary using j
What is one difference between the Ottoman Empire and the Safavid Empire?
what is the main difference between a maglev train and a normal train?
CAN U plz help Which sentence uses a verb that agrees with its subject? A. Three pieces of wheat toast comes with the breakfast platter. B. The bananas on th
Which important complex is formed due to complimentary binding at the enzyme active site? Enzyme product complex Enzyme substrate complex Substrate product comp
Earth’s natural “insulating blanket” is the biosphere..
Could I please have some facts on Fauvism.
Which was one of the reasons Martin Luther wrote his Ninety-five Theses?