lundi 8 février 2021

What is the best way to log number of if/else branching in Python?

I have function that called many times and it has if\else statements. How to log better the number of if's and else's to use it in another .py file? I tried to var += 1, but i guess, it's make no sense because i need to open it in another python file.

Aucun commentaire:

Enregistrer un commentaire