Write the following code using for loop var i =10;
while (i>=1)
{
Document write (i)
I - -;
}
Answers
Answered by
2
Answer:
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 . In Python, the body of the while loop is determined through indentation.
Similar questions