Limit evaluatation from user input not working
My code is:
t = raw_input() #n = var('x') u2 = raw_input() (t).limit(x=u2) (t).limit(x=u2+0.001) (t).limit(x=u2+0.0001)
It gives me this error:
Error in lines 4-4 Traceback (most recent call last): File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 905, in execute exec compile(block+'\n', '', 'single') in namespace, locals File "", line 1, in <module> AttributeError: 'unicode' object has no attribute 'limit'
What am I doing wrong? I want to ask the user the function to be evaluated and the number that x approaches.