Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> def top_three(list):
- list = [2,3,5,6,8,4,2,1]
- input_list = sorted(list, reverse=True)
- return input_list[:3]
- >>> top_three
- <function top_three at 0x00D030C0>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement