The new materials
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
|
||||
# def leitet sich von define ab
|
||||
# in den Klammern sind die Parameter (hier a, b)
|
||||
def addition(a, b):
|
||||
result = a + b
|
||||
return result
|
||||
|
||||
summe = addition(10, 20)
|
||||
print(summe)
|
||||
summe1 = addition(summe, 0.25)
|
||||
print(summe1)
|
||||
Reference in New Issue
Block a user