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
information of operating system on which your code is run
rString__1
epicoaosdsoasd
TIC TAC TOW.py
NormalizedTags
Цідило
PyMap
Temperature Converter
1.problem_name_1
Dictionary comprehension - convert to lowercase