Why doesn’t sort() work?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why doesn’t sort() work??

Explain me please how to make it work? https://code.sololearn.com/WgkZsYQ9KIFy/?ref=app

17th Aug 2018, 4:23 PM
Никита Шиляев
Никита Шиляев - avatar
3 Answers
+ 1
https://code.sololearn.com/WFlHhhmA9JjT/?ref=app line 3 statement is wrong, you can change it to this :)
17th Aug 2018, 4:46 PM
Ronalyn Joy Sardañas
Ronalyn Joy Sardañas - avatar
+ 1
Line 3. You miss a closing bracket. Then it works perfectly...
17th Aug 2018, 4:34 PM
Ledio Deda
Ledio Deda - avatar
+ 1
Ronalyn, thank you so much for your answer! now it works)
18th Aug 2018, 5:03 PM
Никита Шиляев
Никита Шиляев - avatar