python language reflection experience on writing the script and add comments 3

I need someone who knows Python language. I already have written the script.

The professor wants us to write a reflection paper based on our mistakes we made while making the script and how did we overcome mistakes by debugging.

I also need comments on my script for almost every line. I attached the script in word file. Add comments explaining how I used code and what for.

Instruction: Making mistakes when you learn to write code is common. It is part of learning. What is important is developing the skill of learning how to understand your errors and then fix them (debugging). For this part of your final project, you will respond to the following:

Reflecting on your experience with this activity, explain the importance of knowing how and when to use and modify variables, and using branches. Support your response with examples from the activity of the types of errors and your method for fixing them. you need to apply your experience and reflect on your troubleshooting and experiences to explain how and when to use and modify variables, and how and when to use branches.’