Homework Help

Please help! How do I write this code in Python?!

2 Likes