Ask Your Question

Revision history [back]

You can do %hist -n to get a numbered list.

sage: 4+5
9
sage: %hist
4+5
%hist
sage: %hist -n
   1: 4+5
   2: %hist
   3: %hist -n