(*numbers)
return ".".join(all_numbers[:4])
Return a random IPv4 address - parts of the IP address can be provided.
    For example, ``random_ipv4(192, 168)`` will return a random 192.168.x.x
    address.
Return a random IPv4 address - parts of the IP address can be provided.
    For example, ``random_ipv4(192, 168)`` will return a random 192.168.x.x
    address.
Return a random IPv4 address - parts of the IP address can be provided . For example random_ipv4 ( 192 168 ) will return a random 192 . 168 . x . x address .
def random_ipv4(*numbers):
    """
    Return a random IPv4 address - parts of the IP address can be provided.
    For example, ``random_ipv4(192, 168)`` will return a random 192.168.x.x
    address.
    """
    all_numbers = [text_type(num) for num in
                   list(numbers) + [randint(0, 255) for _ in range(4)]]
    return ".".join(all_numbers[:4])
def random_ipv4 ( * numbers ) : all_numbers = [ text_type ( num ) for num in list ( numbers ) + [ randint ( 0 , 255 ) for _ in range ( 4 ) ] ] return "." . join ( all_numbers [ : 4 ] )