def generate_mac_address():
 mac = [250, 22, 62, random.randint(0, 127), random.randint(0, 255), random.randint(0, 255)]
 return ':'.join(map((lambda x: ('%02x' % x)), mac))

def generate_mac_address ( ) : mac = [ 250 , 22 , 62 , random . randint ( 0 , 127 ) , random . randint ( 0 , 255 ) , random . randint ( 0 , 255 ) ] return ':' . join ( map ( ( lambda x : ( '%02x' % x ) ) , mac ) )
generate an ethernet mac address .