Q:

python - iterating over each digit in number

I have a list like this:
['0', '2757', '2757']

When I run this:
for i in results[1]:
    print i

it's return 4 lines
2
7
5
7

I only want it to return the number 2757

A:

Assuming by "return" you mean "print". You don't need a loop. Just print the element directly.
>>> seq = ['0', '2757', '2757']
>>> print seq[1]
2757

