Ask Your Question

Revision history [back]

Very strange error with html in sagenotebook


I have function:

def my_table():
    s = """<table border=1>
    <tr><td>7</td><td>g</td><td>{6}</td></tr>""".format(0, 1, 2, 3, 4, 5, 6)

I create new worksheet in sage notebook, in 1st cell I paste this code. Then I press shift+enter. In 2nd cell I type:


and also press shift+enter. Then I press "save and quit". After I closed this worksheet I open it and see that there are 2 tables and cells don't work correctly. When I try evaluate 2nd cell, the sage can't perform calculation.

What do I wrong? Please help me. Thanks.