from urllib.request import urlopen
from urllib.error import HTTPError
from urllib.error import URLError
try:
html = urlopen("https://www.olin.edu/thisschoolsuckssomuch")
except HTTPError as e:
print(e)
except URLError as e:
print("The server could not be found!")
else:
print("It Worked!")