On Jul 31, 2011, at 02:29 , tvn wrote:

> The enumerate function in Python has the index type as 'int'  instead of say 
> sage's Integer.   is there an equivalent of enumerate in Sage that returns 
> Integer type ?  Thanks  

Try srange and sxrange/xsrange.

Details with "?"

HTH

Justin

--
Justin C. Walker
Curmudgeon at Large
Director
Institute for the Enhancement of the Director's Income
--
Build a man a fire and he'll be warm
 for a night.
Set a man on fire and he'll be warm
 for the rest of his life.



-- 
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