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 | |
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 = 1010
doesn't change global N, because Sage makes N local variable.