Final answer:
A while loop in Python repeats an action until a particular condition is true. It contrasts with a for loop, which executes a fixed number of times. The loop runs as long as the condition is true and can execute zero times if the condition is initially false.
Step-by-step explanation:
The true statement about while loops in Python is that they repeat an action until a condition is true. Unlike a for loop, which executes a predetermined number of times, a while loop continues to execute as long as the specified condition remains true. If the condition is false when the while loop is first encountered, the loop's body will not execute even once.
Here's an example of a while loop in Python:
count = 0
while count < 5:
print(count)
count += 1
In this example, the action of printing the value of count and incrementing count by 1 will be repeated until count is no longer less than 5.