Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
PyLamb
#Python 2.7.17 #PyLamb: Python Lambda Expression #this code is created by Rezaul Hoque on December 04,2021;contact: jewelmrh@yahoo.com #note: codes shared by Rezaul Hoque on rextester are not for sale; they are created and shared to facilitate the algorithm learning process; many like Hoque use this platform to practice programming ;Rezaul hopes his contribution helps others to fine tune their learning; a=[1,2,3,4,5,10,20,30,40] singleDigit = filter(lambda x:x<10,a) print(list(singleDigit)) total = reduce(lambda x,y:x+y,a) print(total)
run
|
edit
|
history
|
help
0
epicoaosdsoasd
0aa6d60d0504c8470fc90c1d5cbf06083cdaadeab6e102bf90732ac2ab66dfdc
ElaineBrown**
cache in python
Filter dictionaries with specific keys
PySet
Run
binary
test
coupon