1c3969d348
Checkpoint 2: Each system takes inputs, performs processsing and produces an output in return. The three different scales are composed of smaller components that work together to complete a specific task. It is really cool how everythiing works together to form a whole. Errors may arise within the three different scales that must be fixed in order for it to run properly.
main
erbrown
2025-12-14 09:35:01 -05:00
0c566eee70
Uncommanded all tes_friend_functions to make sure all functions work!! No errors arose. I rememeber this from computer science 1. I feel the last function was the most challenging as you needed to created a dic. rather than a list set the {} before to create a dic. I used to += 1 within my function as to help tally the the count of fav. color from a person. That I remember from a previous computer science class as I do not think we have really learned super well here but it is helpful and useful.
erbrown
2025-12-13 20:58:25 -05:00
c567bd010d
I am going to run the code to make sure no errors come as I accidently just did mwc submit rather than python test_friend_function.py
erbrown
2025-12-13 20:54:25 -05:00
0e0962c53d
for the fifth function - I used the previous function to help me code the count by using the len command that I used for the first function! Easy way to return the number of people who like a given color
erbrown
2025-12-13 20:49:39 -05:00
f79959c5a4
Created a function that returned a list so we had to start out with result to = [] and then work throught the dictionary to get the final output. Used the append command that was used in the scatter lab to create the list! created a for statement to help get the information we needed!
erbrown
2025-12-13 20:42:22 -05:00
c8a5302ab4
For function 3, it was similar to function 2 but we wanted the count so used the len command from function 1.
erbrown
2025-12-13 20:36:00 -05:00
ba8f01aabc
Created the first two functions where you are counting the number of people - here you use the len command to count the number of people. For the second function returned the named persons email address by using a for loop statment to help.
erbrown
2025-12-13 20:27:09 -05:00
280df8324a
Applying patch
Chris Proctor
2025-09-29 22:17:22 -04:00