refactor to remove branch. no functional change, better readability
This commit is contained in:
parent
49201ce142
commit
92b7be3160
|
@ -98,5 +98,4 @@ if __name__ == '__main__':
|
||||||
print(text)
|
print(text)
|
||||||
if text == 'exit':
|
if text == 'exit':
|
||||||
break
|
break
|
||||||
else:
|
comment(text)
|
||||||
comment(text)
|
|
||||||
|
|
Loading…
Reference in New Issue