From 31764fa82a5dd64a653419d74f2601eaeaf2bf49 Mon Sep 17 00:00:00 2001 From: MaximSmolskiy Date: Sat, 5 Aug 2023 15:10:04 +0300 Subject: [PATCH] Fix --- boolean_algebra/quine_mc_cluskey.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boolean_algebra/quine_mc_cluskey.py b/boolean_algebra/quine_mc_cluskey.py index 1a7addf83..58df5246b 100644 --- a/boolean_algebra/quine_mc_cluskey.py +++ b/boolean_algebra/quine_mc_cluskey.py @@ -75,8 +75,8 @@ def is_for_table(string1: str, string2: str, count: int) -> bool: list1 = list(string1) list2 = list(string2) count_n = 0 - for element1, element2 in zip(list1, list2): - if element1 != element2: + for item1, item2 in zip(list1, list2): + if item1 != item2: count_n += 1 return count_n == count