aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--csci1913/Python/project1_strap012.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/csci1913/Python/project1_strap012.py b/csci1913/Python/project1_strap012.py
index 6cf6361..c825359 100644
--- a/csci1913/Python/project1_strap012.py
+++ b/csci1913/Python/project1_strap012.py
@@ -92,7 +92,7 @@ G.rule('Story', ('Phrase',)) # 09
G.rule('Story', ('Phrase', 'and', 'Story')) # 10
G.rule('Story', ('Phrase', 'but', 'Story')) # 11
G.rule('Start', ('Story', '.')) # 12
-for n in range (0, 5):
+for _ in range (0, 5):
print(G.generate())
# the cat bit the boy .
@@ -124,7 +124,7 @@ J.rule('Story', ('Phrase', 'and', 'Story')) # 10
J.rule('Story', ('Phrase', 'but', 'Story')) # 11
J.rule('Start', ('Story', '.')) # 12
-for f in range(0, 5):
+for _ in range(0, 5):
print(J.generate())
# the walrus is the sentence and the diamond generated the walrus .