Skip to content

Commit d76f26e

Browse files
committed
DAY 4 OF 14 PYTHON CHALLENGE
1 parent ce2cab0 commit d76f26e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Assignment 2/DAY 4 OF 14 PYTHON CHALLENGE.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def restart():
1616

1717
def main():
1818
os.system("clear")
19-
print("Welcome to IsItDown.py!\nPlease write a URL or URLs you want to check. (separated by comma)")
19+
print("Welcome to IsItDown.py!\nPlease write a URL or URLs you want to check. (separated by `,` comma)")
2020
URLs = str(input()).lower().split(",")
2121
for URL in URLs:
2222
URL = URL.strip()
@@ -30,9 +30,9 @@ def main():
3030
if request.status_code == 200:
3131
print(URL, "is up!")
3232
else:
33-
print(URL, "is down!")
33+
print(URL, "is down..")
3434
except:
35-
print(URL, "is down!")
35+
print(URL, "is down..")
3636
restart()
3737

3838
main()

0 commit comments

Comments
 (0)