I was writing my loops backwards for a month
Honestly, I was working on a small project in Python last week, trying to print numbers from 1 to 10. I kept writing 'for i in range(10, 0, -1)' and wondering why it started at 10. A friend looked at my screen and just said 'Dude, you have the start and stop swapped.' I felt so dumb, but it finally clicked that range(1, 11) gives you 1 through 10. Has anyone else mixed up the order in a loop like that?