Factory method for creating a user from a string in the form `name#zone`.
        :param name_and_zone: the user's name followed by hash followed by the user's zone
        :return: the created user

def create_from_str(name_and_zone: str):
        """
        Factory method for creating a user from a string in the form `name#zone`.
        :param name_and_zone: the user's name followed by hash followed by the user's zone
        :return: the created user
        """
        if _NAME_ZONE_SEGREGATOR not in name_and_zone:
            raise ValueError("User's zone not set")
        name, zone = name_and_zone.split(_NAME_ZONE_SEGREGATOR)
        if len(name) == 0:
            raise ValueError("User's name cannot be blank")
        if len(zone) == 0:
            raise ValueError("User's zone cannot be blank")
        return User(name, zone)