python内置函数

1. sorted
Help on built-in function sorted in module __builtin__:

sorted(...)

   sorted(iterable, cmp=None, key=None, reverse=False) --> new sorted list

exmaple:
for i in sorted([1,3,2]):
    print i

你可能感兴趣的:(python,function,Module)