I have the following if
:
if condition_1 and condition2 and (condition3 or condition4):
do something...
I want to detect which condition failed (what condition is False
and write it to the log for further analysis. How can I do this in Python 3?
Aucun commentaire:
Enregistrer un commentaire