0
Repeat until
How do i put a repeat until in python
4 Respostas
+ 5
for instance, by using a while-loop.
if you need help with your code, show your code and describe what it is supposed to do.
+ 2
Unfortunately Python does not have
do
...
until <condition>
Python has only a while loop so you have to restructure your logic to use a negative condition:
while not <condition>:
...
And you may need to manage somehow to ensure the condition allows the while loop to execute at least once.