Skip to content

Commit 52d808e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0a4637f commit 52d808e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

strings/split.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def split(string: str, separator: str = " ") -> list:
2020
"""
2121

2222
split_words = []
23-
if(len(separator)>1):
23+
if len(separator) > 1:
2424
raise ValueError("Separator must be a single character")
2525

2626
last_index = 0

0 commit comments

Comments
 (0)