Skip to content

Commit 5cdd474

Browse files
committed
lambda example added
1 parent 47fdd22 commit 5cdd474

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lambda /example1.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
square= lambda num: num**2
2+
print(square(8))

0 commit comments

Comments
 (0)