You are viewing a single comment's thread. Return to all comments →
cube = lambda x: x**3 def fibonacci(n): a, b = 1,0 temp = [] for _ in range(n): a, b = b, a+b temp.append(a) return temp
Seems like cookies are disabled on this browser, please enable them to open this website
Map and Lambda Function
You are viewing a single comment's thread. Return to all comments →