On Sun, 06 Jan 2013 14:33:26 -0700, Jason Friedman wrote: >> def double(value): >> result return result >> >> number=input('type a number') >> print (double(int(number))) >> >> > I think what was meant: > > def double(value): > result = 2 * value return result
yes indeed thanks for correcting my typo -- Quigley's Law: Whoever has any authority over you, no matter how small, will atttempt to use it. -- http://mail.python.org/mailman/listinfo/python-list