I have tried searching online but I can't seem to find anything that would answer this question.
I current have a script that is running, and I am using an if statement to catch anomaly.
if test <= limit
return True
This works as intended, but I am looking to reduce said code into a single line like
return True if test <= limit else [continue with script]
But I have no idea what to put in the [continue with script] part.
Aucun commentaire:
Enregistrer un commentaire