Question
We want to simulate constantly flipping a coin until we get 3 heads in a row. What kind of loop should we use?
For loop
While loop
Loop and a half
Infinite loop
For loop
While loop
Loop and a half
Infinite loop
Answers
GPT 3.5
While loop