Last Updated 04/18/2017
Once you have defined a variable, Sage will remember its value during your entire working session. If you want to overwrite the variable with a new value, you can simply make a new assignment.
For example each assignment below redefines the value of the variable x.
After the assignment the value of x is 7. To overwrite x with a new value 11, just make a new assignment.
Try this! Assign the variable n with the value 23. Output the value of n.
Increase the value of the variable n by 1. Output the value of n.