IndentationError: unexpected indent
How to fix the errors,....
set_verbose(-1)
@interact
def _(n=slider(-5,20,step_size=1),b=slider(1,20,step_size=1),auto_update=False):
f= n*x+b
pt=plot(n*x+b,(x,-2,10))
dot= point((0,b),pointsize=80,rgbcolor=(1,0,0))
show(dot+pt)
gives the following error
Error in lines 1-9
Traceback (most recent call last):
File "/projects/28f4a164-4f32-45a9-9846-82b90ee6d545/.sagemathcloud/sage_server.py", line 879, in execute
exec compile(block+'\n', '', 'single') in namespace, locals
File "<string>", line 4
def _(f=input_box(x**Integer(2),width=Integer(20)),
^
IndentationError: unexpected indent
I tried to use spaces, and tabs. I am kinda new to python and sage.