<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def unit_tangent(self, t=None):
 """returns the unit tangent of the segment at t."""

        assert self.end != self.start
        dseg = self.end - self.start
        return dseg/abs(dseg)