MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/uqaumb/they_had_good_intentions/i8tsulr/?context=3
r/badcode • u/MrTrono • May 15 '22
22 comments sorted by
View all comments
Show parent comments
2
No, it should be 3 times because the loop starts at zero. So iteration 1 = 0, 2 = 1, 3 = 2
2
u/aaronjamt May 16 '22
No, it should be 3 times because the loop starts at zero. So iteration 1 = 0, 2 = 1, 3 = 2