Skip to content

Commit 15b1b49

Browse files
NewEvolutionmpirnat
authored andcommitted
Monty Python reference in about_control_statements.py (gregmalcolm#131)
* Corrected reference to Monty Python swallow bit Not sure if the Amazonian Swallow is a reference I'm just not getting, but it's the airspeed velocity of African and European Swallows we're worried about when it comes to crossing bridges. * Trimmed trailing whitespace * Corrected reference to Monty Python swallow bit Mirrored changes from python3 to python2 to correct Amazonian -> European
1 parent afbef91 commit 15b1b49

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

python2/koans/about_control_statements.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ def test_if_then_statements(self):
1818
if True:
1919
result = 'true value'
2020
self.assertEqual(__, result)
21-
21+
2222
def test_if_then_elif_else_statements(self):
2323
if False:
2424
result = 'first value'
25-
elif True:
25+
elif True:
2626
result = 'true value'
2727
else:
2828
result = 'default value'
@@ -66,7 +66,7 @@ def test_for_statement_with_tuples(self):
6666
("Lancelot", "Blue"),
6767
("Galahad", "I don't know!"),
6868
("Robin", "Blue! I mean Green!"),
69-
("Arthur", "Is that an African Swallow or Amazonian Swallow?")
69+
("Arthur", "Is that an African Swallow or European Swallow?")
7070
]
7171
result = []
7272
for knight, answer in round_table:

python3/koans/about_control_statements.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def test_for_statement_with_tuples(self):
6565
("Lancelot", "Blue"),
6666
("Galahad", "I don't know!"),
6767
("Robin", "Blue! I mean Green!"),
68-
("Arthur", "Is that an African Swallow or Amazonian Swallow?")
68+
("Arthur", "Is that an African Swallow or European Swallow?")
6969
]
7070
result = []
7171
for knight, answer in round_table:

0 commit comments

Comments
 (0)