vendredi 15 décembre 2017

Can you do multiple checks in one if statement in python

can you do something like this:

if (username==username) (password==password)
     #does whatever
else
     #does whatever

Aucun commentaire:

Enregistrer un commentaire