def join_ipv4_segments(segments):
 return '.'.join([str(s) for s in segments])

def join_ipv4_segments ( segments ) : return '.' . join ( [ str ( s ) for s in segments ] )
helper method to join ip numeric segment pieces back into a full ip address .