def get_random_telephonenumber():
        """Get a random 10 digit phone number that complies with most of the requirements.

        Returns:
            str: The random telephone number.

        """

        phone = [
            RandomInputHelper.get_random_value(3, "123456789"),
            RandomInputHelper.get_random_value(3, "12345678"),
            "".join(map(str, random.sample(range(10), 4)))
        ]

        return "-".join(phone)
def get_random_telephonenumber ( ) : phone = [ RandomInputHelper . get_random_value ( 3 , "123456789" ) , RandomInputHelper . get_random_value ( 3 , "12345678" ) , "" . join ( map ( str , random . sample ( range ( 10 ) , 4 ) ) ) ] return "-" . join ( phone )
Get a random 10 digit phone number that complies with most of the requirements.

        Returns:
            str: The random telephone number.