a = '/dvi/abcbbb' if ('/dev/' in a) or ('/dv/' in a) or ('/dvi/' in a): print(a) /dvi/abcbbb
Can we do it without the OR statements in Python ?
Aucun commentaire:
Enregistrer un commentaire