index
:
clp.git
main
A small Python compiler with optimizer written in Java
Ubuntu
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
progs
/
a973.py
blob: bc45bf4d1b083cca1d217369a6eb408d0f1eb3f3 (
plain
)
1
2
3
4
import heapq def small_nnum(list1,n): smallest=heapq.nsmallest(n,list1) return smallest