Python IPv4 Breakdown

Write a short program that does all of the following. 
1. Asks the user for an IP Address with the subnet prefix.  (ex:  192.168.2.142/20 )
2. The input must be the correct format and have validation (make sure it meets the format requirements). 
3. You must use a List to store the IP Address (Lab 4 – Step 5) and a variable for the prefix. 
4. Calculate the required answers. 5. Output should match the provide sample below.

Leave a Reply

Your email address will not be published. Required fields are marked *