Complete all seven questions. Define each requested function, return its result, then use the worked calls to check your work. Use only the forms named in each specification. Do not use input().
Each question ends with a Real version note showing how the program can read its values with input().