Make sure you provide a transcript (write it out) of the code, as well as type annotations and docstrings for every question. And make sure it runs in python. Write the code like a beginner since this is a first-year computer science class for all freshmen. Make sure it is clear and readable