Computer Science, asked by priyanshu643bang, 1 year ago

Convert the following for loop into while loop:
for i in range (1,16)
if i%3= = 0
print (i)​

Answers

Answered by heroboy53
4

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