> 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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to