Skip to Content
Menu
This question has been flagged
3026 Views

Hi,

I obtained a list "result" and tried to sort it using

result.sort(reverse=True)

but the strange thing is that it gives me a None type just using the sort method while debugging my code. It gives correct result when using Python editor,

Any idea is helpful


Avatar
Discard
Related Posts Replies Views Activity
1
Feb 24
2379
1
Jul 24
1318
2
May 24
2486
1
Feb 23
2633
4
Nov 23
28762