Global Relay Interview Question

write python code to communicate with a network device