zmodn.Zmodn.__sub__(other) Subtract two Zmodn objects. Parameters:¶ other : Zmodn¶The Zmodn object to subtract. Returns:¶ The result of the subtraction. Return type:¶ Zmodn Raises:¶ TypeError – If other is not a Zmodn object. ValueError – If the modules are not equal.