my typo error led in the 'while loop' function led me to the following question

```
from time import sleep
from random import randint

def control_pressure():
    pressure = measure_pressure()
    while True:
        if pressure <= 500:
            break

        while pressure > 500 and pressure <= 700:
            run_standard_safeties()
            pressure = measure_pressure()

        while pressure > 100:                     # Here is the typo
            run_critical_safeties()
            pressure = measure_pressure()

    print("Wow! The system is safe...")

def measure_pressure():
    pressure = randint(450, 800)
    print(f"psi={pressure}", end="; ")
    return pressure

def run_standard_safeties():
    print("Running standard safeties...")
    sleep(0.2)

def run_critical_safeties():
    print("Running critical safeties...")
    sleep(0.7)

if __name__ == "__main__":
    control_pressure()

```

In the above, I made a typo and checked pressure > 100, while condition. But earlier in the first part of the function, it checked, while pressure <= 500, then break. So technically any value lesser than or equal to 500 should return True and break the function without reaching the pressure > 100 condition.

But this function continued without stopping. Why does it happen?

Thanks