[ SRE_ARENA ]
CONTROL FLOW

Control Flow & Loops: Scripting Logic

System Architecture Visualization
DOWNLOADING CONCEPT: IF...ELIF...ELSE...

↳Python uses standard boolean conditions.

python
if disk_usage > 90:
    alert("CRITICAL: Disk almost full")
elif disk_usage > 75:
    alert("WARNING: Disk filling up")
else:
    print("Disk OK")
▲ LIVE INCIDENTA script is checking server health but never exits.
sre@arena:~/python-control
sre@arena:~$ python3 check_health.py