how to iterate through an integer in python code example Example: iterate over numbers in int python for c in string: c = int(c) # do stuff with c