help how to sort a list in order of 'n' in python without using inbuilt functions??

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sat May 25 10:28:33 EDT 2013


On Sat, 25 May 2013 19:14:57 +1000, Chris Angelico wrote:

> def random_number():
>     return 7

I call shenanigans! That value isn't generated randomly, you just made it 
up! I rolled a die *hundreds* of times and not once did it come up seven!



-- 
Steven



More information about the Python-list mailing list