Ask Your Question

user6502's profile - activity

2016-05-03 05:53:55 +0200 received badge  Student (source)
2016-05-03 05:44:23 +0200 asked a question Limit evaluatation from user input not working

My code is:

t = raw_input()
#n = var('x')
u2 = raw_input()

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/", 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.