The sum function doesn't work in my Jupyter notebook. I get the following error message. Any help appreciated.
Traceback (most recent call last) Cell In[106], line 2 1 number=Integer(20240801) ----> 2 print(sum(number.digits()))
TypeError: 'sage.rings.rational.Rational' object is not callable
Does the error persist when you run only the following code in a new Jupyter session? (with no other prior code parts, just the following two lines.)
WorksForMe(TM) in 10.5.beta0 :
What happen(s|ned) in the 105 previous cells ?
HTH,