Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

type error when calculating a limit

I am trying to calculate a limit:

print(limit(1/x,x=0))

Why do I get the following error:

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/tmp/ipykernel_26364/2811025272.py in <module>
 ---> ... print(limit(Integer(1)/x,x=Integer(0)))

 TypeError: limit() got an unexpected keyword argument 'x'