Hi,OK I found the problem no interline.
I have problem to def a class in sage, it's working in a sage notebook :
Sage] class Obwod(object):
def __init__(this, z):
this.z = z
def __add__(this, that):
return Obwod(this.z + that.z)
def __mul__(this, that):
return Obwod(1/(1/this.z + 1/that.z))
Traceback (most recent call last):
File "tm_sage", line 4
def __add__(this, that):
^
IndentationError: unindent does not match any outer indentation level
Any help ?
regards
Henri
Archive powered by MHonArc 2.6.19.