Skip to main content

Control Structures

Control Structures

If-Else

status = "OK"
if status == "OK":
print("Website is up and running!")
else:
print("Website is down!")