From 69b6fc3edf9d4bbb5434b48f0ffe50ccf1ca4160 Mon Sep 17 00:00:00 2001 From: Ravi Date: Tue, 20 May 2025 21:44:03 -0400 Subject: [PATCH 1/2] Fix exponentiation example output in Day 3 Operators --- 03_Day_Operators/03_operators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03_Day_Operators/03_operators.md b/03_Day_Operators/03_operators.md index 0fcfeb994..987a11807 100644 --- a/03_Day_Operators/03_operators.md +++ b/03_Day_Operators/03_operators.md @@ -75,7 +75,7 @@ print('Division: ', 7 / 2) # 3.5 print('Division without the remainder: ', 7 // 2) # 3, gives without the floating number or without the remaining print ('Division without the remainder: ',7 // 3) # 2 print('Modulus: ', 3 % 2) # 1, Gives the remainder -print('Exponentiation: ', 2 ** 3) # 9 it means 2 * 2 * 2 +print('Exponentiation: ', 2 ** 3) # 8 it means 2 * 2 * 2 ``` **Example:Floats** From 81f18516af738fd90d398f6c8bfe089ac57e2da9 Mon Sep 17 00:00:00 2001 From: Ravi Date: Tue, 20 May 2025 22:32:21 -0400 Subject: [PATCH 2/2] Fix sentence formatting in Day 4 Strings example --- 04_Day_Strings/04_strings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/04_Day_Strings/04_strings.md b/04_Day_Strings/04_strings.md index 3bf09ed2a..35023ed1d 100644 --- a/04_Day_Strings/04_strings.md +++ b/04_Day_Strings/04_strings.md @@ -349,7 +349,7 @@ last_name = 'Yetayeh' age = 250 job = 'teacher' country = 'Finland' -sentence = 'I am {} {}. I am a {}. I am {} years old. I live in {}.'.format(first_name, last_name, age, job, country) +sentence = 'I am {} {}. I am {} years old. I am a {}. I live in {}.'.format(first_name, last_name, age, job, country) print(sentence) # I am Asabeneh Yetayeh. I am 250 years old. I am a teacher. I live in Finland. radius = 10