mercredi 2 mai 2018

Alternate for if-elif in Python

Could there be a different/alternate way in Python for writing:

if <condition-1>:

      <code-block-1>

elif <condition-2>:

      <code-block-2>

Aucun commentaire:

Enregistrer un commentaire