Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
lambda list map
#python 3.5.2 def square(a): return a*a func1=[square] num=[2,3,4,5,6,7,8,9] for i in range(5): val=list (map(lambda x:x(i),func1)) print(val) def fourista(a): return a*a*a*a func2=[fourista] num2=[10,20,30,40,50] for i in range(5): val2=list (map(lambda x:x(i),func2)) print(val2)
run
|
edit
|
history
|
help
0
Python_Hello_World
Algorytm szybkiego potęgowania
Breadth-First Path Finding
Hello
binary search
Lesson 2-ex
try1
Rhymes child
Game4
31 dec