can you help me how to put the list of each name in alphabetical form | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

can you help me how to put the list of each name in alphabetical form

I have to Program in Python the function or functions that Let sort by insertion method one List of Names with ID and Age, must contain pass parameters and in a function return the list ordered by ID and another list by Names. Must also show both lists I already managed to make the list and everything, but I don't know how to place the list alphabetically and show me the 2 lists, both names and another by ID on the same screen, you can give me a recommendation, there is my attempt attached https://code.sololearn.com/c4xOqXS2YYHP/?ref=app https://code.sololearn.com/c4xOqXS2YYHP/?ref=app

6th Nov 2020, 1:22 AM
Alejandro Gonzalez
Alejandro Gonzalez - avatar
2 Answers
+ 1
this is the same code, let me see you try to make the function. then, if or when you run into a specific problem, you can ask a specific question and it will be easier to help you
6th Nov 2020, 2:41 AM
Slick
Slick - avatar
0
Slick thank you I await your answer
6th Nov 2020, 2:49 AM
Alejandro Gonzalez
Alejandro Gonzalez - avatar