To derive subnet from class-c range using python script | Sololearn: Learn to code for FREE!