We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04405e7 commit 0891d35Copy full SHA for 0891d35
lambda.py
@@ -0,0 +1,5 @@
1
+list1 = [1,2,3,4,5,6]
2
+s = list(map(lambda x:pow(x,2),list1))
3
+print(s)
4
+r = list(filter(lambda x:x%2==0 ,list1))
5
+print(r)
0 commit comments