4. Required Problems

In this section, you are required to complete the problems below and submit your code with Ok to get your answer scored.

Remember, you can use Ok to test your code:

$ python ok

and submit your work when you are done:

$ python ok --submit