+ 1

sort and sorted

why sort and sorted of list functions not working in loop of python?

9th Jul 2020, 6:06 PM
Mohammad Alrousan
Mohammad Alrousan - avatar
2 ответов
+ 6
codemonkey , in your sample "list.sorted()" is not correct should be "sorted(list)"
9th Jul 2020, 8:26 PM
Lothar
Lothar - avatar
0
codemonkey thanks, I fix it
9th Jul 2020, 7:23 PM
Mohammad Alrousan
Mohammad Alrousan - avatar