vendredi 16 juin 2017

Performance of ternary operator vs if-else statement (Python)

Note: It's true that this question has been answered for many other languages. However, I could not find an answer for Python, so do not mark as duplicate.

Is there a difference in performance between the if-else statement and the ternary operator in Python?

Aucun commentaire:

Enregistrer un commentaire