I have wrong results with sorting function at python
Looks like your list is a list of strings and not a list of numbers. Is your list defined like this? NumberList = [‘9’, ‘5’, ’13’] Update: From your updated code snippet we see how you fill your list: Number_list.append(raw_input()) You must know that in Python 2, raw_input returns the user input as string and … Read more