diff options
| -rw-r--r-- | challenge-074/lubos-kolouch/python/ch_2.py | 5 |
1 files changed, 1 insertions, 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 |
