Hello everybody,

I just want to share the little pleasure that sage managed to add 2+2 in 
python3. 

Here is a sample session in ipython3

In [1]: import sage.all
In [2]: from sage.combinat.q_bernoulli import *
In [3]: a=ZZ(2)
In [4]: b=ZZ(691)
In [5]: a+b
Out[5]: 693
In [6]: a-b
Out[6]: -689
In [7]: a*b
Out[7]: 1382
In [8]: a**a
Out[8]: 4
In [9]: a/b
Out[9]: b'2/691'

This is done using the latest python3 experimental branch. As you can see, 
something works, but this is still very rough.

Related tickets: https://trac.sagemath.org/ticket/23818 
and https://trac.sagemath.org/ticket/23812

cheers,
Frédéric

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to