Update: my first for loop took me 4 hours to get the brackets balanced
I finally got my little grade calculator working in Python after fighting it all Sunday afternoon. The bug was a missing closing bracket buried three loops deep, and my editor kept pointing at the wrong line so I chased the wrong spot for close to two hours. I probably retyped the same block eight times before I sat back and counted the opening and closing brackets by hand with a pencil. When it finally printed the right average I yelled loud enough that my roommate came to check on me. I know a for loop is baby stuff to most of you but it felt huge to see numbers come out instead of an error. How long did your first working loop take, and did anyone else get stuck on brackets like I did?
Been there with the bracket hunt and it is the worst feeling when the editor keeps highlighting some random line that has nothing to do with the actual problem. My first loop that actually ran took maybe an hour, but the broken versions before it ate up way more time than that. I once spent a whole evening stuck because I had a curly brace where a parenthesis should've been, and my eyes just kept sliding right past it. Counting them by hand with a pencil is honestly a smart move that a lot of people skip. Getting numbers out instead of a red error message is a real win, no matter how simple the loop is.