From 758d6bb0bb593d7b57df560d7f8a83f950ebb47e Mon Sep 17 00:00:00 2001 From: Antoine Van Elstraete Date: Mon, 24 Jan 2022 20:21:54 +0100 Subject: [PATCH] Nettoyage --- wgamesolv.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/wgamesolv.py b/wgamesolv.py index 3af76cf..836ef03 100755 --- a/wgamesolv.py +++ b/wgamesolv.py @@ -69,10 +69,6 @@ def resolv_len(liste, lenght): return [mot for mot in liste if len(mot) == lenght] -# First Try -#if ft: -# bestWords = noDouble(firstTryFilter(goodLen, ft)) - # Pattern : élimination des mots ne satisfaisant pas la pattern #if pattern: # patternCount = len(pattern) - pattern.count(".") @@ -188,9 +184,6 @@ if __name__ == "__main__": # Bad Letters bl = args.badLetters - # First Try - ft = args.firstTry - liste = load_dict(args.dictionary) liste = resolv_len(liste, args.nbLetters) liste = resolv_fl(liste, args.firstLetter)