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
/
unparsable_programs
/
a152.py
blob: a7a582a8872df669818d51da65b860401a6253bc (
plain
)
1
2
3
def
min_k
(
test_list
,
K
):
res
=
sorted
(
test_list
,
key
=
lambda
x
:
x
[
1
])[:
K
]
return
(
res
)