0
Q:

python wait until

import time
#Waits 1 second
time.sleep(1)
15
import time
def waitUntil(condition, output): #defines function
    wU = True
    while wU == True:
        if condition: #checks the condition
            output
            wU = False
        time.sleep(60) #waits 60s for preformance

waitUntil(Cookies >= 0, eatCookies()) #runs function (output MUST be another function)
2
#Wait in python
#Module required - time
import time
#Wait in for the time you put
time.sleep(0.5)
print('Wait in python')
2

New to Communities?

Join the community