Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5c56b04

Browse filesBrowse files
committed
fixes
1 parent 3d59556 commit 5c56b04
Copy full SHA for 5c56b04

File tree

Expand file treeCollapse file tree

2 files changed

+5
-5
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-5
lines changed
Open diff view settings
Collapse file

‎20_password/password.py‎

Copy file name to clipboardExpand all lines: 20_password/password.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ def get_args():
3737

3838
parser.add_argument('-m',
3939
'--min_word_len',
40-
metavar='mininum',
40+
metavar='minimum',
4141
type=int,
4242
default=3,
4343
help='Minimum word length')
4444

4545
parser.add_argument('-x',
4646
'--max_word_len',
47-
metavar='maximumm',
47+
metavar='maximum',
4848
type=int,
4949
default=6,
5050
help='Maximum word length')
Collapse file

‎20_password/solution.py‎

Copy file name to clipboardExpand all lines: 20_password/solution.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def get_args():
1717

1818
parser.add_argument('file',
1919
metavar='FILE',
20-
type=argparse.FileType('r'),
20+
type=argparse.FileType('rt'),
2121
nargs='+',
2222
help='Input file(s)')
2323

@@ -37,14 +37,14 @@ def get_args():
3737

3838
parser.add_argument('-m',
3939
'--min_word_len',
40-
metavar='mininum',
40+
metavar='minimum',
4141
type=int,
4242
default=3,
4343
help='Minimum word length')
4444

4545
parser.add_argument('-x',
4646
'--max_word_len',
47-
metavar='maximumm',
47+
metavar='maximum',
4848
type=int,
4949
default=6,
5050
help='Maximum word length')

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.