
The page of the book is: http://learnpythonth.../book/ex33.html and my code is.
def while_numbers(numbers): i = 0 numbers = [] while i < numbers: print "At the top i is %d" % i numbers.append(i) i += 1 print "Numbers Now: ", numbers print "At the bottom i is %d" % i print "The numbers: " for num in numbers: print num
I know it's wrong but it's as close as i came.