You are viewing a single comment's thread. Return to all comments →
It isn't necessary, though. The sorted function will work on any sequence and return the result as a list. Sets are also sequences in Python.
Seems like cookies are disabled on this browser, please enable them to open this website
Nested Lists
You are viewing a single comment's thread. Return to all comments →
It isn't necessary, though. The sorted function will work on any sequence and return the result as a list. Sets are also sequences in Python.