Question: Please see attached Below is a complete functioning python script, your job is to explain how the code works and what it does. (100 words
Please see attached

Below is a complete functioning python script, your job is to explain how the code works and what it does. (100 words or less) Use this page URL for testing: https://ung.edu/landing/ung-contact-information.php ### START OF SCRIPT ### import requests import re url = input('Enter a URL (include "http://"): ") website = requests.get(url) html = website.text links = re.findall(""((http/ftp)s?://.*?)", html) emails = re.findall(r"\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Zla-z][2,}\\b", html) phones = re.findall(r"\\b\\d[3][-.]?\\d[3][-.]?\\d[4]\\b", html) print("\ Found {} links".format(len(links))) for email in emails: print(email) for phone in phones: print(phone) ### END OF SCRIPT ###
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
