from requests import get
results = {}
websites = ("<https://google.com>", "airbnb.com", "<https://facebook.com>","jochi.co.kr")
# 각 웹사이트 주소를 담은 tuples
for website in websites:
if not website.startswith('https://'): # 웹사이트 이름이
website = f"https://{website}"
response = get(website)
if response.status_code == 200:
print(f"{website} is OK")
results[website] = "OK"
else :
print(f"{website} is not OK")
results[website] = "FAILED"
print(results)