My nested for loops went from 40 lines to 6 and I feel cheated
I've been working through a Python course on Udemy for about a month now, and last week I hit the loops chapter and wrote this ugly block of nested for loops to fill a grid. It was like 40 lines of copy-paste madness and it worked, so I moved on. Then two days ago I learned about list comprehensions and turned the whole thing into 6 lines, and now I'm just sitting here mad that I wasted a week typing the same thing over and over. Is this normal for beginners, or am I just slow to catch on?