May-08-2017, 08:00 PM
(May-08-2017, 04:41 PM)nilamo Wrote: Do you HAVE to use a while loop? Because this is just rewriting list_.sort()
as an in-place sort.
Homework, sir
Test everything in a Python shell (iPython, Azure Notebook, etc.)
- Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
- Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
- You posted a claim that something you did not test works? Be prepared to eat your hat.