Lagt till kapitel 9

This commit is contained in:
2024-02-03 19:22:27 +01:00
parent 0983e93cbe
commit accdeca47b
24 changed files with 245 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#!/usr/bin/env python3
def fPlus(x):
return x + 1
lPlus = lambda x: x + 1
print(fPlus(5)) # Den vanliga funktionen
print(lPlus(10)) # Lambda-funktionen