Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; "subject:' ": 0.07; 'subject:help': 0.08; 'builtin': 0.09; 'subject:using': 0.09; 'url:faqs': 0.09; "'n'": 0.16; '24,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject: \n ': 0.16; 'url:catb': 0.16; 'url:lmgtfy': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'sort': 0.25; 'header:In-Reply-To:1': 0.27; 'subject:list': 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'code': 0.31; 'anyone': 0.31; 'url:python': 0.33; 'fri,': 0.33; 'received:google.com': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'list': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'how': 0.40; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=cMWXpKHfxv3YGiKTQBRIJgPC4C0kx1LhhussYQwnmg8=; b=AaqkcQM0CEgdQuJOXLr1m+VX6tg0DedGXcvB6YrIz9vM116/SuSWQ4ZffoczjYiNRG MsbgokgNAWy89m8TI6nwzxqxig5ta/S/6gbBQ1Qo7tMzFS9xwN8c+c6i9ScpyIyQiYIa pHfXSKsY51xEIcM2Mv1IfnhQB1PbXkEyWc5OjlEgHi5Pi8Y1li5hXdMFTs4RZCLZHGtW ZuiSp41+iED0egfA77g91fjbKdqjLEIHsNE/o0A25J1Bpqhs/t+eFu1/Juy4M2pmUHTk vjJKDhkDcgzRPjqtkIfgR0066jFN+eo0vjRJ7ytXrILRr51krOFQzZq3HNlqiWjcbHZd AXwQ== MIME-Version: 1.0 X-Received: by 10.58.208.228 with SMTP id mh4mr7779234vec.23.1369383165837; Fri, 24 May 2013 01:12:45 -0700 (PDT) In-Reply-To: References: Date: Fri, 24 May 2013 18:12:45 +1000 Subject: Re: help how to sort a list in order of 'n' in python without using inbuilt functions?? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369383168 news.xs4all.nl 15916 [2001:888:2000:d::a6]:40749 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:45868 On Fri, May 24, 2013 at 6:04 PM, wrote: > i need to write a code which can sort the list in order of 'n' without use builtin functions > can anyone help me how to do? > -- > http://mail.python.org/mailman/listinfo/python-list http://lmgtfy.com/?q=sorting+algorithm http://www.catb.org/esr/faqs/smart-questions.html ChrisA