Similarly, the available subnets can be returned by iterating over the list returned by the subnets() function call:
def list_subnets(conn): for subnet in conn.network.subnets(): print(subnet)
Similarly, the available subnets can be returned by iterating over the list returned by the subnets() function call:
def list_subnets(conn): for subnet in conn.network.subnets(): print(subnet)
18.220.178.243