X Tutup
Skip to content

Commit bb08cd3

Browse files
committed
Fix 0004
1 parent abe9719 commit bb08cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Drake-Z/0004/0004.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
def statistics(file_path):
1111
f = open(file_path, 'r').read()
12-
f = re.split(r'[\s\,\;,\n]+', f)
12+
f = re.findall(r'[\w\-\_\.\']+', f)
1313
print(len(f))
1414
return 0
1515

0 commit comments

Comments
 (0)
X Tutup