From a8c0228ea993c2553f55375ef77048c426eecc33 Mon Sep 17 00:00:00 2001 From: spasupu1 <54916075+spasupu1@users.noreply.github.com> Date: Mon, 9 Sep 2019 17:43:47 -0400 Subject: [PATCH 1/2] Add files via upload made changes --- bad_code_1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bad_code_1.py b/bad_code_1.py index e0c1b30..3fee18b 100644 --- a/bad_code_1.py +++ b/bad_code_1.py @@ -1,3 +1,3 @@ if __name__ == "__main__": -print 'I hate it when people call me "Fifa", that's my cat's name!' + print ("I hate it when people call me \"Fifa\", that's my cat's name!") From f0cf71020dca39e2a7d6f0dc236b15392a6e35e1 Mon Sep 17 00:00:00 2001 From: spasupu1 <54916075+spasupu1@users.noreply.github.com> Date: Mon, 9 Sep 2019 17:53:39 -0400 Subject: [PATCH 2/2] Add files via upload changes made and fixed a few bugs --- bad_code_2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bad_code_2.py b/bad_code_2.py index 3b3b64b..3342961 100644 --- a/bad_code_2.py +++ b/bad_code_2.py @@ -1,4 +1,4 @@ if __name__ == "__main__": # For you're ouwn helth, Im cuting you of to a max of 4 beers. - for i in range(4, -1, -1): - print("%d bottles of beer on the wall, %d bottles of beer. Take one down, pass it around, %d bottles of beer on the wall." % (i, i, i)) + for i in range(4, 0, -1): + print("%d bottles of beer on the wall, %d bottles of beer. Take one down, pass it around, %d bottles of beer on the wall." % (i, i, i-1))