Although break can only exit one loop, you can use a flag to exit a nested loop at once. => I have written code that uses break and a flag (k_found_flag) to exit a nested loop at once.
As you progress in your Python learning, you will sometimes encounter nested programs, such as "if statements inside if statements" or "for loops inside for loops." The break and continue statements ...