diff --git a/thinkcspy/Chapter-12-Exercises/Lab1.py b/thinkcspy/Chapter-12-Exercises/Lab1.py index 4f4b0d2..28ac674 100644 --- a/thinkcspy/Chapter-12-Exercises/Lab1.py +++ b/thinkcspy/Chapter-12-Exercises/Lab1.py @@ -1,3 +1,7 @@ +# Runestone.Academy thinkcspy course +# Chapter 12 +# Lab 1 + def countAll(text): wordDict = {} diff --git a/thinkcspy/Chapter-12-Exercises/Lab2.py b/thinkcspy/Chapter-12-Exercises/Lab2.py index 57dc464..2c81666 100644 --- a/thinkcspy/Chapter-12-Exercises/Lab2.py +++ b/thinkcspy/Chapter-12-Exercises/Lab2.py @@ -1,3 +1,7 @@ +# Runestone.Academy thinkcspy course +# Chapter 12 +# Lab 2 + import turtle def countAll(text): diff --git a/thinkcspy/Chapter-12-Exercises/Problem1.py b/thinkcspy/Chapter-12-Exercises/Problem1.py index f1e13f0..22c1d12 100644 --- a/thinkcspy/Chapter-12-Exercises/Problem1.py +++ b/thinkcspy/Chapter-12-Exercises/Problem1.py @@ -1,3 +1,7 @@ +# Runestone.Academy thinkcspy course +# Chapter 12 +# Problem 1 + def countAll(text): wordDict = {} text = text.lower() diff --git a/thinkcspy/Chapter-12-Exercises/Problem2.py b/thinkcspy/Chapter-12-Exercises/Problem2.py index f799f01..b110dc4 100644 --- a/thinkcspy/Chapter-12-Exercises/Problem2.py +++ b/thinkcspy/Chapter-12-Exercises/Problem2.py @@ -1,3 +1,7 @@ +# Runestone.Academy thinkcspy course +# Chapter 12 +# Problem 2 + def add_fruit(inventory, fruit, quantity=0): if fruit not in inventory: diff --git a/thinkcspy/Chapter-12-Exercises/Problem3.py b/thinkcspy/Chapter-12-Exercises/Problem3.py index 9b9fabe..1bee7d5 100644 --- a/thinkcspy/Chapter-12-Exercises/Problem3.py +++ b/thinkcspy/Chapter-12-Exercises/Problem3.py @@ -1,3 +1,7 @@ +# Runestone.Academy thinkcspy course +# Chapter 12 +# Problem 3 + aliceBook = open("alice_in_wonderland.txt", "r") aliceDict = {} outfile = open("alice_words.txt", "w") diff --git a/thinkcspy/Chapter-12-Exercises/Problem4.py b/thinkcspy/Chapter-12-Exercises/Problem4.py index 09b4879..1845986 100644 --- a/thinkcspy/Chapter-12-Exercises/Problem4.py +++ b/thinkcspy/Chapter-12-Exercises/Problem4.py @@ -1,3 +1,7 @@ +# Runestone.Academy thinkcspy course +# Chapter 12 +# Problem 4 + aliceBook = open("alice_in_wonderland.txt", "r") aliceDict = {} diff --git a/thinkcspy/Chapter-12-Exercises/Problem5.py b/thinkcspy/Chapter-12-Exercises/Problem5.py index 90d51b3..ff5f6fe 100644 --- a/thinkcspy/Chapter-12-Exercises/Problem5.py +++ b/thinkcspy/Chapter-12-Exercises/Problem5.py @@ -1,3 +1,7 @@ +# Runestone.Academy thinkcspy course +# Chapter 12 +# Problem 5 + def translator(english): pirate = {}