Check your understanding of the previous reading: writing a function header, calling a function, and reading the parts of a definition.
Identify each numbered part of the function definition and its call:

Type the symbol that goes at the end of a function definition's header (the last character of the line that starts with def).
Every header ends with a colon, e.g. def add(left: int, right: int) -> int: — the answer is :.
Given the function definition below, what is the name of the function?
def get_area(width: int, height: int) -> int:
return width * height
The name comes right after def, before the opening parenthesis: get_area.
Read the following code, and then fill in the blanks below.
1| def f(x:int) -> int:
2| x = x + 1
3| return x
4| val = 0
5| y = f(val)
6| print(y)
You can run the code on Python Tutor to step through and see what happens.
You have been tasked with creating a function that opens a garage door. Which of the following are good, valid names?