This is an automated archive made by the Lemmit Bot.
The original was posted on /r/ProgrammerHumor by /u/da_Aresinger on 2023-07-30 23:21:59.
You must log in or register to comment.
Most languages I’ve seen with for each loops have a way to get the index alongside the value, usually with a second variable name after the first separated by a comma.