Question: Create a Python program which imports a CSV file with a list of IP addresses. The program must load the IPs into arrays and print

Create a Python program which imports a CSV file with a list of IP addresses. The program must load

the IPs into arrays and print only those in a Class B subnet (255.255.0.0). See example CSV file:

192.168.1.1

172.16.0.1

172.19.51.19

In the above example, 172.16.0.1 and 172.19.51.19 are both Class B subnets. For a range to be a

Class B subnet, it must start within the range of 128-191. Since 172.16.0.1 and 172.19.51.19 are both

within 128-191, theyre classified as a Class B subnet.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!