From 78fb4c2e04d7074752024df14ed85a191c04506f Mon Sep 17 00:00:00 2001 From: subratom Date: Mon, 13 Jan 2025 23:20:40 -0800 Subject: [PATCH 1/3] Update cake.md --- text/exercise1/cake.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/text/exercise1/cake.md b/text/exercise1/cake.md index b4edd5f..3fecce2 100644 --- a/text/exercise1/cake.md +++ b/text/exercise1/cake.md @@ -1,8 +1,8 @@ ## Recipice for Chocolate Cake -Yellow cake is delicious! This recipie is passed down from my great-great-grandparents. +Yellow cake is delicious! This recipe is passed down from my great-great-grandparents. -My great-great-granparents lived in Venice. They enjoyed travelling on the canals. +My great-great-grandparents lived in Venice. They enjoyed traveling on the canals. Did you know Venice became Austrian territory when Napoleon signed the Treaty of Campo Formio on 12 October 1797? I did not. @@ -13,7 +13,7 @@ Mix the flour, baking powder, and salt together in a medium bowl. - 240 grams all-purpose flour - 3 1/2 teaspoons baking powder -- 1 cup salt +- 1 teaspoon salt - 1 1/2 cups white sugar - 1/2 cup of shortening - 3 eggs From c512e98d9145c202fe8cd730ff21956a37433a21 Mon Sep 17 00:00:00 2001 From: subratom Date: Mon, 13 Jan 2025 23:23:48 -0800 Subject: [PATCH 2/3] Update cake.md --- text/exercise1/cake.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text/exercise1/cake.md b/text/exercise1/cake.md index 3fecce2..d323c36 100644 --- a/text/exercise1/cake.md +++ b/text/exercise1/cake.md @@ -30,4 +30,4 @@ Stir in vanilla and pour cake batter into the prepared pan. Bake in the preheated oven until a toothpick inserted in the center comes out clean, about 40 to 45 minutes. -Preheat the oven to 3500 degrees F (175 degrees C). +Preheat the oven to 350 degrees F (175 degrees C). From 4137790ecca728073b851e2abc836c3914b4f385 Mon Sep 17 00:00:00 2001 From: subratom Date: Mon, 13 Jan 2025 23:36:52 -0800 Subject: [PATCH 3/3] Update vowel_counter.py --- python/exercise1/vowel_counter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/exercise1/vowel_counter.py b/python/exercise1/vowel_counter.py index a50949a..64cec82 100644 --- a/python/exercise1/vowel_counter.py +++ b/python/exercise1/vowel_counter.py @@ -10,9 +10,11 @@ def num_vowels(text): def num_consonants(text): vowels = "aeiou" + num = 0 for letter in text: if letter not in vowels: print("consonant", letter) + num +=1 text = str(input("Enter a sentence: "))