From 3d7ac4e6e0cd682291c3f2494d0b9334a26dcd79 Mon Sep 17 00:00:00 2001 From: mark mcintyre Date: Tue, 3 Dec 2019 10:02:18 -0500 Subject: [PATCH] needed to make all the letters lower when creating the list --- is-he-saruman/is-he-saruman | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/is-he-saruman/is-he-saruman b/is-he-saruman/is-he-saruman index 2d8bcbb..a3b6670 100755 --- a/is-he-saruman/is-he-saruman +++ b/is-he-saruman/is-he-saruman @@ -13,11 +13,11 @@ def main(): args = parse_args() saruman_list = list("saruman") - name_list = [x for x in args.name if x] + name_list = [x.lower() for x in args.name if x] matching_letters = list() for letter in saruman_list: - if letter.lower() in name_list: + if letter in name_list: matching_letters.append(letter) name_list.pop(name_list.index(letter))