@classmethod
def from_tuple(cls, data):
    """
        Create circle instance from tuple of three elements.
        """
    if len(data) == 2:
        return cls(data[0], data[1])
    elif len(data) == 3:
        return cls(data[:2], data[2])
    raise ValueError('Incorrect length of data parameter')
