# Python to AS question

**URL:** <https://forum.kirupa.com/t/python-to-as-question/242032>\
**Category:** programming\
**Created:** [October 21, 2007, 12:24pm UTC](https://forum.kirupa.com/t/python-to-as-question/242032 "2007-10-21T12:24:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![devonair](https://avatars.discourse-cdn.com/v4/letter/d/3be4f8/32.png) [@devonair](https://forum.kirupa.com/u/devonair)\
**Post date:** [October 21, 2007, 12:24pm UTC](https://forum.kirupa.com/t/python-to-as-question/242032/1 "2007-10-21T12:24:14Z")

</div>

Admittedly, I don’t know a lick of Python but I’m trying to convert a small bit to actionscript. One line of code has me flustered though:

[AS]for i in (x, y):  
# doStuff[/AS]

where i, x and y are all strings.

Could someone tell me what this is doing and, if possible, suggest an Actionscript alternative?

Thank you for any info/suggestions…

d.
