Liste Python Ajouter si ce n'est pas présent
lst.append(3) if 3 not in lst else lst
Hemang Joshi
lst.append(3) if 3 not in lst else lst