Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 1
sort and sorted
why sort and sorted of list functions not working in loop of python?
2 Answers
+ 6
codemonkey , in your sample "list.sorted()" is not correct should be "sorted(list)"
0
codemonkey thanks, I fix it