From fc350103aee950ecd6ae058c985e9f3e94710e2b Mon Sep 17 00:00:00 2001 From: Lubos Kolouch Date: Sat, 22 Aug 2020 13:56:19 +0200 Subject: Cosmetic change CH 2 --- challenge-074/lubos-kolouch/python/ch_2.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/challenge-074/lubos-kolouch/python/ch_2.py b/challenge-074/lubos-kolouch/python/ch_2.py index f4888236e1..da21ecc6fb 100644 --- a/challenge-074/lubos-kolouch/python/ch_2.py +++ b/challenge-074/lubos-kolouch/python/ch_2.py @@ -34,10 +34,7 @@ def get_fnr(in_str): else: fnr_queue.remove(char) - if fnr_queue: - result += fnr_queue[-1] - else: - result += '#' + result += fnr_queue[-1] if fnr_queue else '#' return result -- cgit