TIL a missing comma in my first Python loop ate 6 hours of my Saturday
Back in 2019 I was learning Python from a free site and wrote a little loop to print a list of my fantasy football players. The script ran but gave me nothing, no error, just a blank screen, so I sat there for six hours on my couch in Akron re-reading the same five lines. Turned out I had put a comma outside my loop body instead of a colon, so the whole block never ran. I felt so dumb but also weirdly proud I found it by myself. Did anyone else lose a whole day to punctuation when they first started?
I did the exact same thing but with a missing colon on an if statement in my first week. Sat there for hours thinking my computer was broken. What finally helped me was printing one line before the loop started, so I could tell if the code was even getting that far.