Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can use reset():

sage: a = 3
sage: a
3
sage: reset()
sage: a
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
[...]
NameError: name 'a' is not defined

You can also give variable names, like reset("a b c") and so on. Type reset? at the console for the details.