From 398305930958b378ba9aa8aa0d0fc07217d17590 Mon Sep 17 00:00:00 2001 From: RossTheRoss Date: Wed, 11 Dec 2019 12:46:31 -0600 Subject: Change things --- csci1913/Python/project1_strap012.py | 4 ++-- 1 file 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 . -- cgit v1.2.3