# Write a function to open and read data from http://cs1110.cs.virginia.edu/code/access.log. # Use a regular expression to find IP addresses # # The function will return a list of all IP addresses. If the same IP address appears multiple times, # only one should be reported. # import urllib.request import re def count_IP_addresses(url): print(count_IP_addresses("http://cs1110.cs.virginia.edu/code/access.log"))