CoCalc -- Collaborative Calculation in the Cloud
Sharedsupport / 2016-10-01-095730-issue981.sagewsOpen in CoCalc

Examples for support purposes...

%md https://github.com/sagemathinc/smc/issues/981

https://github.com/sagemathinc/smc/issues/981

def f():
    print "hi"
# comment at indent 0
    print 'should not execute BUT DOES'
should not execute BUT DOES
f()
hi
a = """def f():
    print "hi"
# comment at indent 0
    print 'should not execute BUT DOES'"""
a
'def f():\n print "hi"\n# comment at indent 0\n print \'should not execute BUT DOES\''

def f():
    print "hi"
# comment at indent 0
    print 'should not execute BUT DOES'
should not execute BUT DOES