If I have a global variable N, how can i set N = smth inside of defined function?
def foo() N = 10
doesn't change global N, because Sage makes N local variable.
1 | initial version | asked 2012-04-04 08:37:24 +0100 Anonymous |
If I have a global variable N, how can i set N = smth inside of defined function?
def foo() N = 10
doesn't change global N, because Sage makes N local variable.
2 | No.2 Revision |
If I have a global variable N, how can i set N = smth inside of defined function?
def foo()
N = doesn't change global N, because Sage makes N local variable.