C-18-Q010mediumsingle_mcq
A while loop will only execute if the given condition is:
A while loop will only execute if the given condition is:
- aFalse or zero
- bTrue or non-zero
- cEqual to None
- dUndefined
ব্যাখ্যা
The body of a while loop runs only when its condition evaluates to true (or any non-zero value, which Python treats as true). If the condition is false or zero, the body is skipped.