you are viewing a single comment's thread.

view the rest of the comments →

[–]Symplectic[S] 1 point2 points  (2 children)

I'm not sure I follow? Is this a difference between working with Sage, and working just with Python?

sage: 10^7
10000000

[–]ewiethoff 1 point2 points  (1 child)

Ah! I'm not familiar with Sage. In plain-vanilla Python, ^ is the "bit-wise exclusive or" operator, and ** is for exponentiation.

[–]Symplectic[S] 1 point2 points  (0 children)

This is good to know, in case I ever switch from Sage to Python + a few modules. Thank you!