Python else keyword in loops

With loops in Python there is a way to run a piece of code if the loop did not encounter a break.
In another words - if the loop rans completely on all elements without a break or an error the else statement will be executed.

cars = ["ok", "ok", "ok", "ok", "ok", "ok"]
for status in cars:
  if status == "faulty":
    print("Found faulty car. Stopping the production line!")
    break
  print(f"This car is {status}.")
  print("Shipping new car to customer!")
else:
  print("All cars built successfully. No faulty cars!")
Output:
This car is ok.
Shipping new car to customer!
This car is ok.
Shipping new car to customer!
This car is ok.
Shipping new car to customer!
This car is ok.
Shipping new car to customer!
This car is ok.
Shipping new car to customer!
This car is ok.
Shipping new car to customer!
All cars built successfully. No faulty cars!
The else can be applied to all loops: for and while.