Overcomplicated python script to convert a network with cidr notation to a network and subnet mask
Takes network/cidr as input example - 10.10.10.0/24 and outputs network and subnet mask - 10.0.0.0 mask 255.255.255.0
Could be used as a function in another script.