On Sep 8, 5:12 pm, mda_ <donmorri...@gmail.com> wrote:
> sage: is_even(e)
> TypeError: unsupported operand type(s) for %:
> 'sage.symbolic.constants_c.E' and 'int'
>
> sage: is_even(float(e))
> False

sage: is_odd(float(e))
True
sage: is_odd(int(e))
False

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

Reply via email to