explain briefly while statement of Python with syntax and examples
Answers
Answered by
2
Answer:
Syntax of while Loop in Python
In the while loop, test expression is checked first. The body of the loop is entered only if the test_expression evaluates to True . After one iteration, the test expression is checked again. This process continues until the test_expression evaluates to False
Answered by
0
Answer:
Syntax of while Loop in Python
In the while loop, test expression is checked first. The body of the loop is entered only if the test_expression evaluates to True . After one iteration, the test expression is checked again. This process continues until the test_expression evaluates to False .
Similar questions