1 | initial version |
I am not sure about your request, does the following solve your issue ?
sage: def mul(a,b): ....: return a*b sage: a = mul(1,2); print('a = {}'.format(a)) sage: b = mul(1,3); print('b = {}'.format(b)) sage: c = mul(1,4); print('c = {}'.format(c)) a = 2 b = 3 c = 4
2 | No.2 Revision |
I am not sure about your request, does the following solve your issue ?
sage: def mul(a,b):
....: return a*b
sage: a = mul(1,2); print('a = {}'.format(a))
sage: b = mul(1,3); print('b = {}'.format(b))
sage: c = mul(1,4); print('c = {}'.format(c))
a = 2
b = 3
c =