 Span):
            raise Exception(&#34;Cannot compare to non-Span&#34;)
        if self.start &lt; other.start:
            return True
        if self.start &gt; other.start:
            return False
        return self.end &lt; other.end

    def __repr__(self) -&gt; str:
        return f&#34;Span({self.start},{self.end})&#34;

    @property
    def length(self) -&gt; int:
        &#34;&#34;&#34;
        Return length of span.
        &#34;&#34;&#34;
        return self.end - self.start

    @support_an