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 2633c6d

Browse files
committed
Fixed typo
1 parent bec011a commit 2633c6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Chapter2/missionaries.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(self, missionaries: int, cannibals: int, boat: bool) -> None:
3131
def __str__(self) -> str:
3232
return ("On the west bank there are {} missionaries and {} cannibals.\n"
3333
"On the east bank there are {} missionaries and {} cannibals.\n"
34-
"The boast is on the {} bank.")\
34+
"The boat is on the {} bank.")\
3535
.format(self.wm, self.wc, self.em, self.ec, ("west" if self.boat else "east"))
3636

3737
def goal_test(self) -> bool:

0 commit comments

Comments
(0)

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