20
I thought I could figure out a simple loop in an hour, but it took me two whole days
I was trying to make a list of numbers print in reverse order for a practice project. I kept writing my for loop wrong, and it would either skip the first number or print nothing at all. I must have stared at the same five lines of Python code for hours, trying every fix I could find online. Finally, a video from a guy named Corey on YouTube showed me I had my range set up backwards. Has anyone else gotten totally stuck on something that seems easy now?
2 comments
Log in to join the discussion
Log In2 Comments
spencerf5616d ago
That class name typo @patricianguyen mentioned is the silent killer of so many coding hours.
2
patricianguyen16d ago
Oh man, that feeling is the worst. Spent an entire afternoon once trying to center a div in CSS. Tried everything, margin auto, flexbox, the whole deal. It just would not move. Turns out I had a typo in the class name in my HTML. The browser was looking for a class that didn't exist. Felt like a genius after that, but also so dumb.
1