erbrown
|
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.
|
2025-12-14 09:35:01 -05:00 |
|
erbrown
|
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.
|
2025-12-13 20:58:25 -05:00 |
|
erbrown
|
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
|
2025-12-13 20:54:25 -05:00 |
|
erbrown
|
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
|
2025-12-13 20:49:39 -05:00 |
|
erbrown
|
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!
|
2025-12-13 20:42:22 -05:00 |
|
erbrown
|
c8a5302ab4
|
For function 3, it was similar to function 2 but we wanted the count so used the len command from function 1.
|
2025-12-13 20:36:00 -05:00 |
|
erbrown
|
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.
|
2025-12-13 20:27:09 -05:00 |
|
Chris Proctor
|
280df8324a
|
Applying patch
|
2025-09-29 22:17:22 -04:00 |
|
|
|
b131bb0b0c
|
Initial commit
|
2025-08-31 23:50:53 +00:00 |
|