explain the while loop with syntax
Answers
Answered by
0
Answer:
While runs until a condition is true
Explanation:
While loop is a repetitive loop which runs until some condition is True. You can think of while loop as a traffic light ; until green vehicle keeps running, as soon as it goes red(think of it as condition being false ) car stops.
Attachments:
Similar questions
Science,
17 days ago
Math,
17 days ago
Computer Science,
17 days ago
Computer Science,
1 month ago
Math,
1 month ago
Math,
9 months ago
Math,
9 months ago