+ 1
How can I implement loop untill I get "hit" ?
"Hit" Ref to line 55 https://code.sololearn.com/cHo9gvzyNmba/?ref=app
2 Respostas
+ 1
In other words,
You want to keep looping WHILE you don't get "hit".
0
You can wrap it in a while not loop. Then it will keep cycling until the variable is true.