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

Sign up
Appearance settings

Commit f6439f0

Browse files
Typo in sample_reader.py
Just caught my eye, changed output string value **default** to **defeat**,
1 parent 4bb06a2 commit f6439f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎days/13-15-text-games/data/sample_reader.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def read_roll(row: dict):
1515
print("Roll: {}".format(name))
1616
for k in row.keys():
1717
can_defeat = row[k].strip().lower() == 'win'
18-
print(" * {} will default {}? {}".format(name, k, can_defeat))
18+
print(" * {} will defeat {}? {}".format(name, k, can_defeat))
1919

2020
print()
2121

22-
read_rolls()
22+
read_rolls()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /