If I change line 16 to next(), i get the following example:
4.0 and so on
I've taken a look around, but not really finding the solution. I know I am probably missing something simple and I'm probably going to slap my forehead once the mistake is revealed, but what am I missing, doing wrong?
Joined: Feb 22, 2014
I feel dumb!
Solution was simply adding one line to advance to next line and fixing a small error in the while loop.