We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b2801f commit 6551026Copy full SHA for 6551026
1 file changed
implement-shell-tools/wc/wc.py
@@ -37,11 +37,11 @@ def process_file(file_path):
37
stats = counter(content)
38
39
if args.line:
40
- print(f"{stats['lines']} {file_path}}")
+ print(f"{stats['lines']} {file_path}")
41
elif args.word:
42
- print(f"{stats['words']} {file_path}}")
+ print(f"{stats['words']} {file_path}")
43
elif args.char:
44
- print(f"{stats['characters']} {file_path}}")
+ print(f"{stats['characters']} {file_path}")
45
else:
46
print(f"{stats['lines']} {stats['words']} {stats['characters']} {file_path}")
47
0 commit comments