Shifting Parabolas

382 days ago by goodwoodkhoa

def cakeisalie(c): return plot((x^2+c),(x,-3,3 
       
Traceback (click to the left of this block for traceback)
...
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_21.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("ZGVmIGNha2Vpc2FsaWUoYyk6CiAgICByZXR1cm4gcGxvdCgoeF4yK2MpLCh4LC0zLDM="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>
    
  File "/tmp/tmpDFkKmh/___code___.py", line 5
    
                                                                           ^
SyntaxError: invalid syntax
@interact def _(c=(-2,2,.1)): show (cakeisalie(c)) 
       

Click to the left again to hide and once more to show the dynamic interactive window