my output is
print (network)
['10.202.224.0/24', '10.4.40.0/23', '10.3.41.0/24', '10.4.42.0/21']
can this be somehow converted to
['10.202.224.0/255.255.255.0', '10.4.40.0/255.255.254.0', '10.4.41.0/255.255.255.0', '10.4.42.0/255.255.248.0']
anything that helps converting the cidr to mask.
Thanks in Advance