Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 2012-12-20 11:44:49 -0500

DSM gravatar image

You can use reset():

sage: a = 3
sage: a
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.