Re: [Numpy-discussion] Function returns nothing!
>On 12 July 2010 11:45, allan oware wrote: > 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 = asarr
[Numpy-discussion] Function returns nothing!
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 not