"not in"
This commit is contained in:
parent
332c571b71
commit
e34317000c
@ -96,7 +96,7 @@ def resolv_bl(liste, lettres):
|
|||||||
for lettre in lettres:
|
for lettre in lettres:
|
||||||
if lettre in mot:
|
if lettre in mot:
|
||||||
MotsSuppr.append(mot)
|
MotsSuppr.append(mot)
|
||||||
return [mot for mot in liste if not mot in MotsSuppr]
|
return [mot for mot in liste if mot not in MotsSuppr]
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
Reference in New Issue
Block a user