Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functions to summarise data from friend group data structure #65

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

shiyingwucl
Copy link

Adds the following function:

  • the maximum age of people in the group
  • the average (mean) number of relations among members of the group
  • the maximum age of people in the group that have at least one relation
  • [more advanced] the maximum age of people in the group that have at least one friend

(The comprehension for the last function is too much of a mental maze to navigate, so I left it as it is for now)

Answers UCL-COMP0233-24-25/RSE-Classwork#7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant