Mar-21-2022, 04:55 PM
(This post was last modified: Mar-21-2022, 06:55 PM by deanhystad.)
@newb
You really need to do more research into these simple questions. It is easy to google "Why does sort return None?", but I prefer reading the Python documentation because I always learn more. This talks about all the things you can do with lists, including sorting.
https://docs.python.org/3/library/stdtyp...#list.sort
That references a nice article all about sorting.
https://docs.python.org/3/howto/sorting....rtinghowto
You post a question here and you get your answer. Eventually. When you search the documentation you get the answer faster, and learn more that is related to your question.
You really need to do more research into these simple questions. It is easy to google "Why does sort return None?", but I prefer reading the Python documentation because I always learn more. This talks about all the things you can do with lists, including sorting.
https://docs.python.org/3/library/stdtyp...#list.sort
That references a nice article all about sorting.
https://docs.python.org/3/howto/sorting....rtinghowto
You post a question here and you get your answer. Eventually. When you search the documentation you get the answer faster, and learn more that is related to your question.