From 92b7be31607206953748b6e5a6c5b580dc824c51 Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Sun, 17 Nov 2019 13:03:04 -0500 Subject: [PATCH] refactor to remove branch. no functional change, better readability --- comment.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/comment.py b/comment.py index 719316b..46bf2ee 100755 --- a/comment.py +++ b/comment.py @@ -98,5 +98,4 @@ if __name__ == '__main__': print(text) if text == 'exit': break - else: - comment(text) + comment(text)