What's wrong with my code? I am having difficulties finding why the loop continues to cycle. I would also like feedback on what could be done to improve my code.
This should be == (comparing two values) not = (assigning values).
If you want feedback I would mention what exactly is your code trying to accomplish.
I'm attempting to code a timer that increments a value every second and then displays that value in the format shown below (m:s). When the variable is equal to 60 (one minute), the program will exit.