index
:
clp
main
A small Python compiler with optimizer written in Java
dcariotti
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
progs
/
a595.py
blob: e4ede5ee2a9665b82be9c17ce91e99bdeebda8f2 (
plain
)
1
2
3
4
import
heapq
def
larg_nnum
(
list1
,
n
):
largest
=
heapq
.
nlargest
(
n
,
list1
)
return
largest