It expects Python integers and is not happy with Sage integers.

Sage's preparser converts your 2 into Integer(2).
You can convert it back with `int`, or, better,
prevent it from converting by marking it as "raw" with `r`.

Try these:

    s**int(2)
    s**2r

-- 
You received this message because you are subscribed to the Google Groups 
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/710f88a8-2f94-4611-8fe7-c9b6f51c6a39n%40googlegroups.com.

Reply via email to