Commit Graph

15 Commits

Author SHA1 Message Date
Chris Mekelburg 6fd2c1c876 Checkpoint 2
All 3 systems (functions, programs, and distributed services) all rely on
taking arguments/inputs (whether simple or complex) and passing them
through computer code to give some type of output.
Also each level relies on the previous level, so programs contain
functions, and distributed services contain programs which contain
unctions. The biggest difference is the scale on which they are used,
functions being the smallest and distributed services being the largest.
2024-10-22 21:26:19 -04:00
Chris Proctor 2d43c5b6fe Applying patch 2024-10-22 13:08:45 -04:00
Chris Mekelburg 67252a5aca having trouble with location
still having trouble with location, the rest seems to be working
2024-10-21 21:12:07 -04:00
Chris Proctor 47b8a5b675 Update relative imports 2024-10-21 10:42:53 -04:00
Chris Proctor 973c5b5c62 Add weather package 2024-10-21 10:20:49 -04:00
Chris Mekelburg 8c678d274a made change to fix else/return None problem
I removed the
else:
    return None
and replaced with
return None

as discussed on Discord. I checked the code with test_friend_functions.py
and it all still works.
2024-10-20 20:18:55 -04:00
Chris Mekelburg bd5373efd9 some help as I work thorugh weather.py
Submitting for some help on the weather.py file. It is not printing the
help for me nor letting me input a location with -h or -l as I mentioned
on Discord.
2024-10-20 19:48:33 -04:00
Chris Mekelburg 0a4b79f4c2 Checkpoint 1
Feeling relieved to have gotten all the functions working. I had one l
ast problem and after posting to Discord and was actually able to figure
it out myself (somehow seeing it in the message board instead of the
terminal made it more obvious, I ended up deleting the post from Discord
since it was super specific).
I found this part of the lab to be kind of challenging as it was not
very straightforward and was somewhat frustrating at times. I feel
like a bit more documentation or background on dictionaries could have
helped, but I was ultimately able to solve the problem by searching
online and trying to think each line through. It also took me a while
to realize we were using a list of dictionaries and keeping that in the
front of my mind helped me get past the final issues I was having.
2024-10-15 21:42:41 -04:00
Chris Mekelburg f9ec3295a6 count_people_who_like_color is working
I think I got this function working, but it's difficult to decipher the
error messages in the test_friend_functions program. I'm going to attempt
the last function and then revisit anything that is still giving an error.
2024-10-13 22:25:14 -04:00
Chris Mekelburg 36bee1bf5f people_who_like_color is working
I found this function a bit easier to work with after I had some trouble
with the previous ones. The lines I added at the end are proving very
useful to testing the functions and understanding how they work.
2024-10-13 22:19:25 -04:00
Chris Mekelburg e45fa894a1 count_favorite_colors is working
I added some helper print statements at the end of friend_functions to
help me test. Had an indentation error with the else statement that got
me stuck for a while but is resolved now.
2024-10-13 22:07:02 -04:00
Chris Mekelburg 1631f47445 Function 3 count_favorite_colors
Not sure what is going on here, but I was able to decipher the error
message that it is not reading 0 for when the "favorite colors" list is
empty. I'm just not sure what it is not reading 0 and I've tried a few
other things too with the same result. Going to move on for now and come
back to this later.
2024-10-13 15:13:56 -04:00
Chris Mekelburg e4cb952f6f Function 2 working
I think I got the get_email function working here (I have 2 dots) but am
still getting one F as the result of the testing section. If this
function still has an error, I can come back and fix it before
completing checkpoint 1.
2024-10-13 14:49:07 -04:00
Chris Mekelburg dd1fb7d3d3 1 function count_people function is working
I didn't remember the len function at first, but a quick google search
refreshed my memory.
2024-10-10 21:49:21 -04:00
cmekelburg 1799c59fe4 Initial commit 2024-08-27 23:08:27 +00:00