python - perform multiple for loops simultaneously -
Is it possible to do several loops together in Python? Like
(syntax error, of course):
for list_of_a, list_of_b: // some work < Em> Together , I I mean, they share the same index or cursor during the repetition.
What can I think about getting this:
- Use a shared cursor as a shared cursor
- Put them in the list of topleples and repeat the list but it is painful to make a list
I'm just thinking that to get some underlying work or simple syntax in it.
Comments
Post a Comment