A few questions to warm up and check the basics. They are reshuffled each time, so you can keep retrying.
A handout is available here.
Here are some other materials on print statements:
Information about the pseudo random number generator in python:
https://docs.python.org/3/library/random.html#module-random.
Resources on comments versus docstrings: