this post was submitted on 30 Jul 2023
1 points (100.0% liked)
Memes and jokes about everything programming and CS
266 readers
12 users here now
For anything funny related to programming and software development.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.