On Mon, May 18, 2009 at 1:13 AM, Kwankyu <ekwan...@gmail.com> wrote:
>
> Hi,
>
> In Magma, there is a handy construct like
>
> [GF(2) | 1,0,1,1]
>
> to get the list with elements in GF(2). Is there a similar one in Sage
> or Python?
>

This is the exact analogue..

sage: Sequence([1,0,1,1],universe=GF(2))
[1, 0, 1, 1]


 -- William

--~--~---------~--~----~------------~-------~--~----~
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
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to