Skip to content

Commit 09e8053

Browse files
authored
Merge pull request #83 from braboj/codex/add-header-for-lambda-function-assignment
Add header for lambda assignment example
2 parents 65d28c7 + c78d03b commit 09e8053

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1+
# Assigning a lambda expression to a variable
2+
# --------------------------------------------------------------------------------
3+
# Lambda expressions can be assigned to variables to create small, unnamed functions on the fly.
4+
15
nop = lambda: None
26
print(nop())

0 commit comments

Comments
 (0)