Add some print statements. And I've formated your snippet with code statements in the way that I think it would have to be indented, but there is no way to tell.
def divide(dividend, divisor):
n = dividend - divisor
print "n =", n
while n > 0:
print "entering while statement"
return
Last edited by woooee; Jun 7th, 2008 at 9:39 pm.
Reputation Points: 741
Solved Threads: 692
Nearly a Posting Maven
Offline 2,305 posts
since Dec 2006