loops breaks and returns
rbt
rbt at athop1.ath.vt.edu
Sun Jan 1 16:23:59 EST 2006
Is it more appropriate to do this:
while 1:
if x:
return x
Or this:
while 1:
if x:
break
return x
Or, does it matter?
More information about the Python-list
mailing list