Complete all seven questions. Define each requested function, return its result, and use the worked calls to check your work. Questions use only numbers and ordinary text labels; do not use collections. Do not use input().
Each question ends with a Real version note showing how the program can read its values with input().