importurllib.request# open a connection to a URL using urllibwebUrl=urllib.request.urlopen('https://china-testing.github.io/address.html')#get the result code and print itprint("result code: "+str(webUrl.getcode()))# read the data from the URL and print itdata=webUrl …