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
/
a971.py
blob: 490613c28e6d31df06d2978c083f67e8f11fedf3 (
plain
)
1
2
3
def
square_nums
(
nums
):
square_nums
=
list
(
map
(
lambda
x
:
x
**
2
,
nums
))
return
square_nums