-
|
What is the difference between a while loop and a for loop? |
Beta Was this translation helpful? Give feedback.
Answered by
Udul-D
Jan 7, 2026
Replies: 1 comment
-
|
While loop repeats until a given condition is met. For loop repeats a preset number of times. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Ranusha5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While loop repeats until a given condition is met. For loop repeats a preset number of times.