Use a for loop to iterate through each network in the networks set.
for
network
networks
Make sure to type for network in networks.
for network in networks