readabilite: .strip() first to save time
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
1083f3ffbc
commit
6ec3fb47d1
|
@ -44,6 +44,8 @@ def count_words(string):
|
|||
if string is None:
|
||||
return 0
|
||||
|
||||
string = string.strip()
|
||||
|
||||
i = 0
|
||||
count = 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue