Closed dsacc closed 7 years ago
In distanz():
# Size verification if rx != ry: raise("The sizes of x and y do not fit")
when the condition is met the following error message is returned:
TypeError: exceptions must derive from BaseException
Something like the following should fix it:
# Size verification if rx != ry: raise ValueError("The sizes of x and y do not fit")
In distanz():
when the condition is met the following error message is returned:
Something like the following should fix it: