Can someone help?

This is my student's code, and we can't figure out where the problem is.

You are viewing a single comment. View All

My Python knowledge is subpar, but I believe you need to globalize the variable first before performing operations on it, instead of doing it at the same time. So:


Thank you so much! That worked