<p dir="ltr"><br>
On 12 Jun 2013 12:08, "Νικόλαος Κούρας" <<a href="mailto:support@superhost.gr">support@superhost.gr</a>> wrote:<br>
><br>
> Oh my God!<br>
><br>
> i just need to do this:<br>
><br>
><br>
> for i, month in enumerate( months ):<br>
>         print('<option value="%s"> %s </option>' % (month, month) )</p>
<p dir="ltr">Usually what goes in <option value="..."> is an ID of something. You should keep using (i, month) and then do months[id] to get the month string.</p>
<p dir="ltr">Also, tuples aren't traditionally used for this. Normally you'd use a list.<br>
</p>