Ask coding questions

← Back to all posts
what does in mean?
aar21 (0)

I am writing what all the functions mean but i dont know what in means

Voters
aar21 (0)
Comments
hotnewtop
Coder100 (18915)

in allows you to loop through every item in an array:

for item in [1, 2, 3]: print(item)
aar21 (0)

what is an array?