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
bacs_class
a
single_digit
mergeTrees
My Temp Converter
Problem: rstring
Numbers padding in Python
Simple code to find all divisors for a number
two sum
e742c63f03ab602f2b38433ffc28b5145ba1332d