oleksii
5/22/2016 - 9:37 PM

digits.py

def digitsReversed(number):
  while(number):
    yield number % 10
    number /= 10