We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce2cab0 commit d76f26eCopy full SHA for d76f26e
Assignment 2/DAY 4 OF 14 PYTHON CHALLENGE.py
@@ -16,7 +16,7 @@ def restart():
16
17
def main():
18
os.system("clear")
19
- print("Welcome to IsItDown.py!\nPlease write a URL or URLs you want to check. (separated by comma)")
+ print("Welcome to IsItDown.py!\nPlease write a URL or URLs you want to check. (separated by `,` comma)")
20
URLs = str(input()).lower().split(",")
21
for URL in URLs:
22
URL = URL.strip()
@@ -30,9 +30,9 @@ def main():
30
if request.status_code == 200:
31
print(URL, "is up!")
32
else:
33
- print(URL, "is down!")
+ print(URL, "is down..")
34
except:
35
36
restart()
37
38
main()
0 commit comments