From e34317000ca697b56f13f75c00975b4d75a8fab5 Mon Sep 17 00:00:00 2001 From: Antoine Van Elstraete Date: Tue, 25 Jan 2022 12:59:08 +0100 Subject: [PATCH] "not in" --- wgamesolv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgamesolv.py b/wgamesolv.py index d5ca283..f758643 100755 --- a/wgamesolv.py +++ b/wgamesolv.py @@ -96,7 +96,7 @@ def resolv_bl(liste, lettres): for lettre in lettres: if lettre in 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__":