I am trying to find the best way to check if statement twice without rewriting my code to use loops if possible. I have this code,
if something == True:
#do stuff
else:
if something_else():
**#this is the condition I want to check again in 30-60 seconds and if it's still true then #do stuff**
else:
#do stuff
Aucun commentaire:
Enregistrer un commentaire