No rubbish answers: Write the syntax of while loop in Python (Python is computer language)
Answers
Answered by
7
With the while loop we can execute a set of statements as long as a condition is true.
- Print i as long as i is less than 6: i = 1. while i < 6:
- Exit the loop when i is 3: i = 1. while i < 6:
- Continue to the next iteration if i is 3: i = 0. while i < 6:
- Print a message once the condition is false: i = 1. while i < 6:
Answered by
2
Explanation:
i hope it's useful
u tAmil?
Attachments:
Similar questions