Added Donnerstag Mittag

This commit is contained in:
2022-11-24 12:57:50 +01:00
parent 1a21942de5
commit 20066fe48d
9 changed files with 130 additions and 1 deletions

9
Donnerstag/curry.py Normal file
View File

@@ -0,0 +1,9 @@
#! /usr/bin/env python3
def inc_generator(n):
return lambda i: i + n
inc3 = inc_generator(3)
inc4 = inc_generator(9)
print(inc3(10))
print(inc4(10))