Before modules
Let's take a very simple script that has a single, and very simple function in it.
def add(a, b):
return a + b
z = add(2, 3)
print(z) # 5
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Let's take a very simple script that has a single, and very simple function in it.
def add(a, b):
return a + b
z = add(2, 3)
print(z) # 5