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

Fábio Santos fabiosantosart at gmail.com
Sat May 25 10:46:46 EDT 2013


On 25 May 2013 15:35, "Steven D'Aprano" <
steve+comp.lang.python at pearwood.info> wrote:
>
> 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
> --
> http://mail.python.org/mailman/listinfo/python-list

Try flipping a coin. I flipped one a couple of times and got the seventh
face once.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130525/2e47552c/attachment.html>


More information about the Python-list mailing list