Revision history [back]

I think you mean that when you type x^2 you obtain , as if the circumflex ^ "eats" the 2 and turns it into a "superscript two", and then when you evaluate that with Sage you get a SyntaxError.

To avoid that, type a space after typing ^, as if you were typing x^ 2.

So you would be typing x followed by ^ followed by a space followed by 2.

Then you will get x^2.

Similarly, using a French keyboard, to get x^a we have to add in a space and type x^ a, otherwise we get .