| Hosted by CoCalc | Download
def never_called(a): print 'should not execute 1', a # comment # comment print 'should not execute 2', a # comment - why red color BTW? print 'should not execute 3', a # comment - why red color BTW? print 'should not execute 4', a # comment - why red color BTW? print 'should not execute 5', a # comment at indent 0 print 'should not execute 6 BUT DOES', a
should not execute 6 BUT DOES
Error in lines 12-13 Traceback (most recent call last): File "/projects/sage/sage-7.3/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 957, in execute exec compile(block+'\n', '', 'single') in namespace, locals File "", line 1, in <module> NameError: name 'a' is not defined