From 194c8faa45adc1000dd00efb0ef08d44e2695985 Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Tue, 14 Jul 2026 19:18:46 -0400 Subject: [PATCH 01/23] add warmup2.py --- week-2/assignment-2/warmup2.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 week-2/assignment-2/warmup2.py diff --git a/week-2/assignment-2/warmup2.py b/week-2/assignment-2/warmup2.py new file mode 100644 index 0000000..cb78df2 --- /dev/null +++ b/week-2/assignment-2/warmup2.py @@ -0,0 +1,7 @@ +#navigations commands I used: +# cd week-2 +#cd assignment-2 +#mkdir warmup2.py + +date = input("What is today's date? ") +print(f'You said today is {date}') From cd37436b2c98072bf0258353717a289ff3bbb60f Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Tue, 14 Jul 2026 20:41:49 -0400 Subject: [PATCH 02/23] add warmup3.py --- week-2/assignment-2/warmup3.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 week-2/assignment-2/warmup3.py diff --git a/week-2/assignment-2/warmup3.py b/week-2/assignment-2/warmup3.py new file mode 100644 index 0000000..e7895e8 --- /dev/null +++ b/week-2/assignment-2/warmup3.py @@ -0,0 +1,6 @@ +#194c8fa (HEAD -> assignment-2, origin/assignment-2) add warmup2.py +#294742d (origin/main, origin/HEAD, main) add week 2 folder +#58d836d Add files via upload +#d8c0c05 Update README.md + + From 4ab4081c9467bdf465d7adf487b87c44c4b129c0 Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Tue, 14 Jul 2026 20:43:27 -0400 Subject: [PATCH 03/23] add warmup4.py --- week-2/assignment-2/warmup4.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 week-2/assignment-2/warmup4.py diff --git a/week-2/assignment-2/warmup4.py b/week-2/assignment-2/warmup4.py new file mode 100644 index 0000000..1f5fda8 --- /dev/null +++ b/week-2/assignment-2/warmup4.py @@ -0,0 +1,14 @@ +name = input('what is your name? ') +print(f'Your name is {name}') + +#File "c:\Users\genes\python_class\working\python-intro-homework\week-2\assignment-2\warmup4.py", line 2, in + # print(f'Your name is {naame}') + # ^^^^^ +#NameError: name 'naame' is not defined. Did you mean: 'name'? + +#My error was first I wrote the wrong varible name on line 5 +# My second error was I didnt write input in line 1 so the user is not +# able to even type their own name + +#I fixed my error by correct my variable name and including the word input on line 1 + From 2d134460cb4f67bc81a5909ad108cb822c1ee40e Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Tue, 14 Jul 2026 20:44:17 -0400 Subject: [PATCH 04/23] add mini_project.py --- week-2/assignment-2/mini_project.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 week-2/assignment-2/mini_project.py diff --git a/week-2/assignment-2/mini_project.py b/week-2/assignment-2/mini_project.py new file mode 100644 index 0000000..aa3926b --- /dev/null +++ b/week-2/assignment-2/mini_project.py @@ -0,0 +1,8 @@ +fahrenheit = int(input("Enter a temperature in Fahrenheit:")) + +celcius = round(fahrenheit - 32) * 5 / 9 + +print(f'{fahrenheit} is {celcius:.1f}C.') + + + \ No newline at end of file From 54b759a2ffe75bfdeafb6ec4b5e011ff57e01f17 Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Tue, 14 Jul 2026 20:48:25 -0400 Subject: [PATCH 05/23] add warmup1.py --- week-2/assignment-2/warmup1.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 week-2/assignment-2/warmup1.py diff --git a/week-2/assignment-2/warmup1.py b/week-2/assignment-2/warmup1.py new file mode 100644 index 0000000..139597f --- /dev/null +++ b/week-2/assignment-2/warmup1.py @@ -0,0 +1,2 @@ + + From baf23b18d508654973840916d3cbb3c4946fac3d Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Tue, 21 Jul 2026 17:26:24 -0400 Subject: [PATCH 06/23] add warmup1.py --- week-2/assignment-2/warmup1.py | 1 + 1 file changed, 1 insertion(+) diff --git a/week-2/assignment-2/warmup1.py b/week-2/assignment-2/warmup1.py index 139597f..7e81075 100644 --- a/week-2/assignment-2/warmup1.py +++ b/week-2/assignment-2/warmup1.py @@ -1,2 +1,3 @@ +print ('Python is working !') From 9ac9efa23bc398dcb21ea930e6908cadf163c617 Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Tue, 21 Jul 2026 17:31:16 -0400 Subject: [PATCH 07/23] add warmup2.py --- week-2/assignment-2/warmup2.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/week-2/assignment-2/warmup2.py b/week-2/assignment-2/warmup2.py index cb78df2..317374c 100644 --- a/week-2/assignment-2/warmup2.py +++ b/week-2/assignment-2/warmup2.py @@ -1,7 +1,8 @@ #navigations commands I used: -# cd week-2 +# cd python-intro-homework +#cd week-2 #cd assignment-2 #mkdir warmup2.py date = input("What is today's date? ") -print(f'You said today is {date}') +print(f'You said today is {date}.') From 5fa6bd5378a4bf2e1a75076b05b2d08a9707bce8 Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Tue, 21 Jul 2026 17:32:34 -0400 Subject: [PATCH 08/23] add warmup3.py --- week-2/assignment-2/warmup3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/week-2/assignment-2/warmup3.py b/week-2/assignment-2/warmup3.py index e7895e8..2479cea 100644 --- a/week-2/assignment-2/warmup3.py +++ b/week-2/assignment-2/warmup3.py @@ -3,4 +3,4 @@ #58d836d Add files via upload #d8c0c05 Update README.md - +print("This week I learned how to use Python input, work with strings, and run Git commands in the terminal!") From ddf1940329e860595c2f17a1ae7505edf72162af Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Tue, 21 Jul 2026 17:34:38 -0400 Subject: [PATCH 09/23] add warmup4.py --- week-2/assignment-2/warmup4.py | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/week-2/assignment-2/warmup4.py b/week-2/assignment-2/warmup4.py index 1f5fda8..0bfd37c 100644 --- a/week-2/assignment-2/warmup4.py +++ b/week-2/assignment-2/warmup4.py @@ -1,14 +1,16 @@ -name = input('what is your name? ') -print(f'Your name is {name}') -#File "c:\Users\genes\python_class\working\python-intro-homework\week-2\assignment-2\warmup4.py", line 2, in - # print(f'Your name is {naame}') - # ^^^^^ -#NameError: name 'naame' is not defined. Did you mean: 'name'? +''' 1. What the error message said: + NameError: name 'naame' is not defined. Did you mean: 'name'? -#My error was first I wrote the wrong varible name on line 5 -# My second error was I didnt write input in line 1 so the user is not -# able to even type their own name +2. What caused it: + I misspelled the variable name as 'naame' inside the print statement + and forgot to include input() on line 1, so Python didn't know what 'naame' was. -#I fixed my error by correct my variable name and including the word input on line 1 +3. How I fixed it: + I added input() to line 1 to capture the user's input and corrected + the spelling of the variable to 'name' in the print statement.''' +# Fixed, working code: + +name = input("What is your name? ") +print(f"Your name is {name}.") From cac6c530af46df6d3d8f27b48859b7b632b21f14 Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Tue, 21 Jul 2026 17:40:53 -0400 Subject: [PATCH 10/23] add mini_project.py --- week-2/assignment-2/mini_project.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/week-2/assignment-2/mini_project.py b/week-2/assignment-2/mini_project.py index aa3926b..87dd084 100644 --- a/week-2/assignment-2/mini_project.py +++ b/week-2/assignment-2/mini_project.py @@ -1,8 +1,8 @@ -fahrenheit = int(input("Enter a temperature in Fahrenheit:")) +fahrenheit = float(input("Enter a temperature in Fahrenheit:")) -celcius = round(fahrenheit - 32) * 5 / 9 +celcius = (fahrenheit - 32) * 5 / 9 -print(f'{fahrenheit} is {celcius:.1f}C.') +print(f'{fahrenheit:.1f}°F is {celcius:.1f}°C.') \ No newline at end of file From 6922c1a17060503f959b8f8e5c214a6aeda6d0fd Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Tue, 21 Jul 2026 17:48:05 -0400 Subject: [PATCH 11/23] add warmup1.py --- week-2/assignment-2/warmup1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/week-2/assignment-2/warmup1.py b/week-2/assignment-2/warmup1.py index 7e81075..f7ae2bf 100644 --- a/week-2/assignment-2/warmup1.py +++ b/week-2/assignment-2/warmup1.py @@ -1,3 +1,3 @@ -print ('Python is working !') +print ('Python is working!') From 6579456537927cf67b89a717b9613627a2067e2b Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Tue, 21 Jul 2026 17:50:26 -0400 Subject: [PATCH 12/23] add warmup2.py --- week-2/assignment-2/warmup2.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/week-2/assignment-2/warmup2.py b/week-2/assignment-2/warmup2.py index 317374c..cd5eef7 100644 --- a/week-2/assignment-2/warmup2.py +++ b/week-2/assignment-2/warmup2.py @@ -1,8 +1,10 @@ #navigations commands I used: # cd python-intro-homework +#ls #cd week-2 #cd assignment-2 -#mkdir warmup2.py +#pwd + date = input("What is today's date? ") print(f'You said today is {date}.') From fd355160889ad7296adacb720f459458cf5e5a4b Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Tue, 21 Jul 2026 17:51:39 -0400 Subject: [PATCH 13/23] add warmup3.py --- week-2/assignment-2/warmup3.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/week-2/assignment-2/warmup3.py b/week-2/assignment-2/warmup3.py index 2479cea..7654760 100644 --- a/week-2/assignment-2/warmup3.py +++ b/week-2/assignment-2/warmup3.py @@ -1,6 +1,7 @@ -#194c8fa (HEAD -> assignment-2, origin/assignment-2) add warmup2.py -#294742d (origin/main, origin/HEAD, main) add week 2 folder -#58d836d Add files via upload -#d8c0c05 Update README.md +# git log --oneline output: +# 194c8fa add warmup2.py +# 294742d add week 2 folder +# 58d836d Add files via upload +# d8c0c05 Update README.md print("This week I learned how to use Python input, work with strings, and run Git commands in the terminal!") From 9a0219cc7882bc45a6492df9239e13faf172982f Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Tue, 21 Jul 2026 17:53:21 -0400 Subject: [PATCH 14/23] add warmup4.py --- week-2/assignment-2/warmup4.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/week-2/assignment-2/warmup4.py b/week-2/assignment-2/warmup4.py index 0bfd37c..44072ed 100644 --- a/week-2/assignment-2/warmup4.py +++ b/week-2/assignment-2/warmup4.py @@ -1,14 +1,14 @@ -''' 1. What the error message said: - NameError: name 'naame' is not defined. Did you mean: 'name'? +# 1. What the error message said: + # NameError: name 'naame' is not defined. Did you mean: 'name'? -2. What caused it: - I misspelled the variable name as 'naame' inside the print statement - and forgot to include input() on line 1, so Python didn't know what 'naame' was. +#2. What caused it: + # I misspelled the variable name as 'naame' inside the print statement + # and forgot to include input() on line 1, so Python didn't know what 'naame' was. -3. How I fixed it: - I added input() to line 1 to capture the user's input and corrected - the spelling of the variable to 'name' in the print statement.''' +#3. How I fixed it: + # I added input() to line 1 to capture the user's input and corrected + # the spelling of the variable to 'name' in the print statement.''' # Fixed, working code: From 543059c714da9180d275696896985b0c19597417 Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Wed, 22 Jul 2026 19:48:51 -0400 Subject: [PATCH 15/23] add warmup1.py --- week-3/assignment-3/warmup1.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 week-3/assignment-3/warmup1.py diff --git a/week-3/assignment-3/warmup1.py b/week-3/assignment-3/warmup1.py new file mode 100644 index 0000000..2f72847 --- /dev/null +++ b/week-3/assignment-3/warmup1.py @@ -0,0 +1,15 @@ +score = 100 +if score >= 90: + print('A') +elif score >= 80: + print('B') +elif score >= 70: + print('C') +elif score >= 60: + print('D') +else: + print('F') + + + + From 1b753928bb26509c87a7c51789fb57566fbad5e9 Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Wed, 22 Jul 2026 20:03:58 -0400 Subject: [PATCH 16/23] add warmup2.py --- week-3/assignment-3/warmup2.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 week-3/assignment-3/warmup2.py diff --git a/week-3/assignment-3/warmup2.py b/week-3/assignment-3/warmup2.py new file mode 100644 index 0000000..842fee0 --- /dev/null +++ b/week-3/assignment-3/warmup2.py @@ -0,0 +1,11 @@ +age = int(input('What is your age ')) + +if age >=0 and age <= 12: + print('You are a Child. ') +elif age >= 13 and age <= 17: + print(' You are a Teen. ') +elif age >= 18 and age <= 64: + print(' You are an adult. ') +elif age >= 65: + print('You are a senior') + From 28bb5354f3d4beca1147fa83c34d017f0cae097c Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Wed, 22 Jul 2026 20:22:52 -0400 Subject: [PATCH 17/23] add warmup3.py --- week-3/assignment-3/warmup3.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 week-3/assignment-3/warmup3.py diff --git a/week-3/assignment-3/warmup3.py b/week-3/assignment-3/warmup3.py new file mode 100644 index 0000000..bef1175 --- /dev/null +++ b/week-3/assignment-3/warmup3.py @@ -0,0 +1,14 @@ +# 'not True' is False and since one side is False False and False gives False +print(not True and False) + +# 'True or False' only needs one to ne True so it gives True +print(True or False and False) + +# 5 is greater than 3 so thats True and adding not flips True to False so its False. +print(not (5 > 3)) + +# 10 equals 10 is true, but 4 not equal to 4 is False. Both arent True 'and' gives False +print(10 == 10 and 4 != 4) + +# 'not False' is True, and 'not True' is False. It gives True +print(not False or not True) \ No newline at end of file From 06d79987c6db8e56e135e7fdb6cd531ef3468651 Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Wed, 22 Jul 2026 20:42:37 -0400 Subject: [PATCH 18/23] add warmup4.py --- week-3/assignment-3/warmup4.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 week-3/assignment-3/warmup4.py diff --git a/week-3/assignment-3/warmup4.py b/week-3/assignment-3/warmup4.py new file mode 100644 index 0000000..c9c8a96 --- /dev/null +++ b/week-3/assignment-3/warmup4.py @@ -0,0 +1,15 @@ +number = int(input('Enter a number: ')) + +if number > 0: + print(f'{number} is positive.') +elif number < 0: + print(f'{number} is negative.') +else: + print(f'{number} is zero. ') + +if number % 2 == 0: + print(f'{number} is even. ') + +else: + print(f'{number} is odd.') + \ No newline at end of file From 6eebc4efeaed8d3934150885ff1725843ec14b45 Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Wed, 22 Jul 2026 21:29:04 -0400 Subject: [PATCH 19/23] add mini_project.py --- week-3/assignment-3/mini_project.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 week-3/assignment-3/mini_project.py diff --git a/week-3/assignment-3/mini_project.py b/week-3/assignment-3/mini_project.py new file mode 100644 index 0000000..b17c6fd --- /dev/null +++ b/week-3/assignment-3/mini_project.py @@ -0,0 +1,29 @@ +day = input('Please enter a day of the week: ') +time_of_day = input("Please enter a time of day (morning, afternoon, or evening): ") + +if day == "monday": + if time_of_day == "morning": + print("Activity: Go for an early morning walk!! ") + elif time_of_day == "afternnon": + print('Activity: Make yourself a yummy snack!! ') + elif time_of_day == "evening": + print('Activity: Make yourself a yummy and healthy dinner') + else: + print('Invalid time of day') +elif day == "saturday": + if time_of_day == "morning": + print('Activity: Make yourself a nice cup of coffee to start your day!!') + elif time_of_day == "afternoon": + print('Activity: Spend your afternoon in a park or somewhere outdoors') + elif time_of_day == "evening": + print('Activity: Go and have nice dinner with a special someone') + else: + print('Invalid time of day') +elif day == "sunday": + if time_of_day == "morning": + print('Activity: Visit a local farmers market!!') + elif time_of_day == "afternoon": + print('Activity: Visit family or friends') + elif time_of_day == "evening": + print('Activity: Movie night!!') + From 5b3d9345e2b5c06492f1d17780f6f7f90cfa3946 Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Sun, 26 Jul 2026 12:37:29 -0400 Subject: [PATCH 20/23] updated warmup1.py --- week-3/assignment-3/warmup1.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/week-3/assignment-3/warmup1.py b/week-3/assignment-3/warmup1.py index 2f72847..df9a800 100644 --- a/week-3/assignment-3/warmup1.py +++ b/week-3/assignment-3/warmup1.py @@ -1,14 +1,19 @@ score = 100 if score >= 90: - print('A') + grade = 'A' elif score >= 80: - print('B') + grade = 'B' elif score >= 70: - print('C') + grade = 'C' elif score >= 60: - print('D') + grade = 'D' else: - print('F') + grade = 'F' + +print(f'Score: {score}') +print(f'Grade: {grade}') + + From 5cbb1e58db297da125e56d4367d86660542a7536 Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Sun, 26 Jul 2026 12:40:26 -0400 Subject: [PATCH 21/23] updated warmup2.py --- week-3/assignment-3/warmup2.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/week-3/assignment-3/warmup2.py b/week-3/assignment-3/warmup2.py index 842fee0..8e85828 100644 --- a/week-3/assignment-3/warmup2.py +++ b/week-3/assignment-3/warmup2.py @@ -5,7 +5,9 @@ elif age >= 13 and age <= 17: print(' You are a Teen. ') elif age >= 18 and age <= 64: - print(' You are an adult. ') + print(' You are an Adult. ') elif age >= 65: - print('You are a senior') + print('You are a Senior') +else: + print('Invalid Age') From b33614c527f212b0152637a009efa6c71c1442ea Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Sun, 26 Jul 2026 12:45:29 -0400 Subject: [PATCH 22/23] updated warmup4.py --- week-3/assignment-3/warmup4.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/week-3/assignment-3/warmup4.py b/week-3/assignment-3/warmup4.py index c9c8a96..84f6b5b 100644 --- a/week-3/assignment-3/warmup4.py +++ b/week-3/assignment-3/warmup4.py @@ -7,9 +7,10 @@ else: print(f'{number} is zero. ') + + if number % 2 == 0: print(f'{number} is even. ') else: print(f'{number} is odd.') - \ No newline at end of file From d239725025d71b2ad7a8948f0573520383584143 Mon Sep 17 00:00:00 2001 From: genesisjzm-rgb Date: Sun, 26 Jul 2026 12:59:04 -0400 Subject: [PATCH 23/23] updated mini_project.py --- week-3/assignment-3/mini_project.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/week-3/assignment-3/mini_project.py b/week-3/assignment-3/mini_project.py index b17c6fd..db455c5 100644 --- a/week-3/assignment-3/mini_project.py +++ b/week-3/assignment-3/mini_project.py @@ -1,10 +1,10 @@ -day = input('Please enter a day of the week: ') -time_of_day = input("Please enter a time of day (morning, afternoon, or evening): ") +day = input('Please enter a day of the week: ').strip().lower() +time_of_day = input("Please enter a time of day (morning, afternoon, or evening): ").strip().lower() if day == "monday": if time_of_day == "morning": print("Activity: Go for an early morning walk!! ") - elif time_of_day == "afternnon": + elif time_of_day == "afternoon": print('Activity: Make yourself a yummy snack!! ') elif time_of_day == "evening": print('Activity: Make yourself a yummy and healthy dinner') @@ -26,4 +26,8 @@ print('Activity: Visit family or friends') elif time_of_day == "evening": print('Activity: Movie night!!') + else: + print('Invalid time of day') +else: + print('Invalid day of the week. Please choose Monday, Saturday, or Sunday!')