[Numpy-discussion] Function returns nothing!
allan oware
lumtegis@gmail....
Mon Jul 12 04:45:53 CDT 2010
Hi All!
def height_diffs():
h = []
i = 0
while True:
x = raw_input("Enter height difference ")
if x == 'q':
break
else:
h.append(x)
i = i + 1
m = asarray(h,dtype=float)
return m
why does return statement return nothing?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100712/d755b59d/attachment.html
More information about the NumPy-Discussion
mailing list