> You might prefer the [1..n] notation, so you could do
>
> sage: [f(i) for i in [1..10]]
> [g(1), g(2), g(3), g(4), g(5), g(6), g(7), g(8), g(9), g(10)]
>
> (This really should be added to the wiki.)> sage: [f(i) for i in [1..10]]

Perhaps I'm missing something, but where do the g's come from? Isn't
that a typo?

sage: [f(i) for i in [1..10]]
[g(1), g(2), g(3), g(4), g(5), g(6), g(7), g(8), g(9), g(10)]


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