L
2

Vent: I tried using a for loop to build a simple list in Python and it gave me a weird error for 2 hours. I think everyone's wrong about starting with loops.

3 comments

Log in to join the discussion

Log In
3 Comments
patricia_rodriguez
Yeah, loops can trip you up at first. I got stuck once because I kept using the wrong variable name inside the loop. What was the error message you saw?
6
thomas.sean
My friend Jake spent three hours on a NameError last week, @patricia_rodriguez.
4
the_barbara
Two hours on a loop error sounds rough, but maybe loops aren't the real problem here. The basics like variable names and syntax have to be solid first, or you'll just get more frustrated. @thomas.sean's friend with the NameError is a perfect example of that. Starting with loops is fine if you take your time and really read the error messages. It's more about building a strong foundation than skipping a whole topic.
3