The comma operator creates tuples in Python (the surrounding braces actually 
don't do anything):

 sage: 1, 2, 3
(1, 2, 3)
sage: 1,
(1,)

A function that just prints something but doesn't call return() will return 
None. That should make the output clear:

sage: def comma(): 
....:     print "*" 
....:     
sage: comma(), 
*
(None,)
sage: comma()
*
sage: print comma()
*
None

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to