Skip to content

Commit 6551026

Browse files
committed
getting rid of all extra }
1 parent 4b2801f commit 6551026

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • implement-shell-tools/wc

implement-shell-tools/wc/wc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ def process_file(file_path):
3737
stats = counter(content)
3838

3939
if args.line:
40-
print(f"{stats['lines']} {file_path}}")
40+
print(f"{stats['lines']} {file_path}")
4141
elif args.word:
42-
print(f"{stats['words']} {file_path}}")
42+
print(f"{stats['words']} {file_path}")
4343
elif args.char:
44-
print(f"{stats['characters']} {file_path}}")
44+
print(f"{stats['characters']} {file_path}")
4545
else:
4646
print(f"{stats['lines']} {stats['words']} {stats['characters']} {file_path}")
4747

0 commit comments

Comments
 (0)