How To Iterate Over An Integer In Python