My teacher explained it one way and then gave me this, I ended up confusing myself. For those of you who have used python may you help complete this part of my assignment? The attachments below give all the information needed.

My teacher explained it one way and then gave me this I ended up confusing myself For those of you who have used python may you help complete this part of my as class=