Example code (Python):
A:
if a == 1 OR b == 1: something
B:
if a == 1: something elif b == 1: something
What are advatages and disadvangates of both variants?
Aucun commentaire:
Enregistrer un commentaire