I want to test whether the letter a appears more than once in my string employee_name.
a
employee_name
I have tried this code :
if 2*"a" in employee_name: return a
This did not work. What am I doing wrong?
Aucun commentaire:
Enregistrer un commentaire