while True in Python creates an infinite loop that continues until a break statement or external interruption occurs. Python lacks a built-in do-while loop, but you can emulate it using a while True loop with a break statement for conditional termination.
In this tutorial, you'll learn about the Python while statement and how to use it to run a code block as long as a condition is true.