Manjunath N, 07.03.2011 09:48: > I'm quite new to python programming. I need help in manually sorting a > list which is shuffled. Why do you want to do that? Is this a homework assignment, or are you just looking for an example task to get used to the language? The usual way to sort a list in Python is l = [7,3,5,4,2,1,6] l.sort() Stefan