Thread: Bubble Sort

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    2
    Rep Power
    0

    Bubble Sort


    I am completely new to Python and I am just learning
    the basics.
    But I have been asked (for a few weeks time) to create
    a Bubble sort on some form of student data and have no idea
    where to start.

    So I am wondering if anyone could point me in the right
    direction of a few tutorials etc.
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Location
    Iran
    Posts
    149
    Rep Power
    139
    It depends on what is your requirement.
    Do you need to learn python? If yes then you can start by reading the online tutorial:

    http://docs.python.org/release/3.2.3...ial/index.html

    If you're looking for learning about the sort algorithm

    http://en.wikipedia.org/wiki/Bubble_sort
    Regards,
    Dariyoosh
  4. #3
  5. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,837
    Rep Power
    480
    link http://www.dump.com/bubblesortdemonstrated/

    You can safely jump ahead to 50 seconds.
    Or enjoy the dance.
    [code]Code tags[/code] are essential for python code and Makefiles!
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    2
    Rep Power
    0
    I need to learn just the basics of Python,
    then produce a bubble sort of some student data.

    Thanks for both your replies.

IMN logo majestic logo threadwatch logo seochat tools logo