I’ve finished doing this week’s assignment. And all the tests passed. But when I submit my assignment I get a grade of 0. I don’t understand. Has anyone had this problem before or does anyone have a solution. Any solution is welcome.
The error message says your code used a global variable inside a local scope.
That’s a bad idea.
It’s the same message on all 8 exercises. Yet I’m sure I didn’t use gbobal variables.
Is there a way to detect where exactly this global variable comes from?