On Oct 18, 2008, at 10:14 PM, Alex Ghitza wrote:

> Hmmm.  As far as I know you can use _ as a placeholder for a  
> variable, and it's meant for this kind of use (where you don't  
> really want to introduce a new variable name).  It's strange that  
> it doesn't work for you.  Can you post the error message that you get?

Actually, _ is an actual variable, though personally I find it a bit  
harder to read than a normal letter. The one special thing about it  
(in ipython at least) is that it constantly gets reassigned to the  
last returned value, e.g.

sage: 1+2
3
sage: _
3

- Robert


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to