Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.062 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; "subject:' ": 0.07; 'subject:help': 0.08; 'subject:using': 0.09; 'python': 0.11; 'def': 0.12; "'n'": 0.16; 'builtins': 0.16; 'subject: \n ': 0.16; 'subject:python': 0.16; 'sat,': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'to:name:python-list@python.org': 0.22; 'received:65.55.116': 0.24; 'sort': 0.25; 'header:In-Reply-To:1': 0.27; 'skip:- 40': 0.29; 'subject:list': 0.30; "i'm": 0.30; 'url:mailman': 0.30; '25,': 0.31; 'url:python': 0.33; 'date:': 0.34; 'good.': 0.35; 'limitations': 0.36; 'url:listinfo': 0.36; "didn't": 0.36; 'url:org': 0.36; 'list': 0.37; 'email addr:python.org': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'subject:': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'how': 0.40; 'url:%20': 0.61; 'email addr:gmail.com': 0.63; 're:': 0.63; 'email name:python-list': 0.65; 'skill': 0.68; 'url:search': 0.81; 'glad': 0.83; '+1000': 0.91; 'carlos': 0.91; '2013': 0.98 X-TMN: [6T135IRDyHhM2r3mPYT88r16xkJsRF2O] X-Originating-Email: [carlosnepomuceno@outlook.com] From: Carlos Nepomuceno To: "python-list@python.org" Subject: RE: help how to sort a list in order of 'n' in python without using inbuilt functions?? Date: Sat, 25 May 2013 12:30:28 +0300 Importance: Normal In-Reply-To: References: , <78192328-b31b-49d9-9cd6-ec742c092a29@googlegroups.com>, , <39ac7437-857e-483f-998c-8162c1039933@googlegroups.com>, <51a052d1$0$6599$c3e8da3$5496439d@news.astraweb.com>, <74e33270-a79a-4878-a400-8a6cda6637b2@googlegroups.com>, , , , , , , , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 25 May 2013 09:30:28.0206 (UTC) FILETIME=[7E41C0E0:01CE592A] X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 35 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369474230 news.xs4all.nl 16012 [2001:888:2000:d::a6]:46792 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:45983 lol http://search.dilbert.com/comic/Random%20Nine=0A= =0A= ----------------------------------------=0A= > Date: Sat=2C 25 May 2013 19:14:57 +1000=0A= > Subject: Re: help how to sort a list in order of 'n' in python without us= ing inbuilt functions??=0A= > From: rosuav@gmail.com=0A= > To: python-list@python.org=0A= >=0A= > On Sat=2C May 25=2C 2013 at 7:10 PM=2C Carlos Nepomuceno=0A= > wrote:=0A= >> ----------------------------------------=0A= >>> Date: Sat=2C 25 May 2013 19:01:09 +1000=0A= >>> Subject: Re: help how to sort a list in order of 'n' in python without = using inbuilt functions??=0A= >>> From: rosuav@gmail.com=0A= >>> To: python-list@python.org=0A= >> [...]=0A= >>> Very good. You are now in a position to get past the limitations of a= =0A= >>> restricted-environment eval/exec. Avoiding builtins is actually a fun= =0A= >>> skill to hone.=0A= >>>=0A= >>> ChrisA=0A= >>=0A= >>=0A= >> I'm glad he didn't ask for a Pseudo-RNG without built-ins! =3B)=0A= >=0A= > def random_number():=0A= > return 7=0A= >=0A= > ChrisA=0A= > --=0A= > http://mail.python.org/mailman/listinfo/python-list =