break py 1

break py

while True:
  if var:

Here is what the above code is Doing:
1. It’s creating a variable called var and setting it to True.
2. It’s creating a while loop that will run forever.
3. It’s creating an if statement that will run if var is True.
4. It’s creating a break statement that will stop the while loop.

The while loop will run forever because var is always True.
The if statement will always run because var is always True.
The break statement will never run because the if statement will never run.

Similar Posts