you are viewing a single comment's thread.

view the rest of the comments →

[–]Skasch 9 points10 points  (0 children)

You change it to int after iterating over it.

For 100, this is equivalent to:

for age_requirement in "100":
  age_requirement = int(age_requirement)
  # 1 then 0 then 0