How would you sort a list without using list.sort() and sorted() | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How would you sort a list without using list.sort() and sorted()

With examples This is what I have but I will like help with using specific task functions 🙏🙏. Thank you all for your input https://code.sololearn.com/c2wa5vdHTSxl/?ref=app

6th May 2020, 1:04 AM
⚡Sue⚡
⚡Sue⚡ - avatar
6 Answers
+ 1
Where is your example😪
6th May 2020, 1:28 AM
⚡Sue⚡
⚡Sue⚡ - avatar
+ 1
Well ok thanks
6th May 2020, 8:11 AM
⚡Sue⚡
⚡Sue⚡ - avatar
+ 1
https://code.sololearn.com/c2wa5vdHTSxl/?ref=app This is what I have but I will like help with using specific task functions 🙏🙏. Thank you all for your input
6th May 2020, 8:45 AM
⚡Sue⚡
⚡Sue⚡ - avatar
+ 1
https://code.sololearn.com/cgDeC205MU0x/?ref=app I like what you did! You found a way to sort the list. I needed to sort an array without using the built in function myself.. I went with a bubble Sorter. I had a high score list that updated the high score, but I decided to add a list of names also. (There is probably a simple way, but I didnt know it) .. I wrote a Sorter that sorted the high scores and if a score got moved, the equivalent name got moved in the other list as well. Worked greay!
1st Jun 2020, 5:10 PM
LordHill
LordHill - avatar
0
Use ur own algorithm
6th May 2020, 1:25 AM
Abhay
Abhay - avatar
- 2
⚡Sue⚡ please use the question and answer section for asking about your code and your code issue, not for the community to do your work for you... Show us your effort, your work and follow the 8 rules for getting help from the community https://www.sololearn.com/Blog/38/8-simple-rules-to-get-help-from-the-community Thanks and happy coding
6th May 2020, 1:43 AM
BroFar
BroFar - avatar