UCL-COMP0233-22-23 / RSE-Classwork

11 stars 66 forks source link

Summary data from group #11

Open dpshelio opened 1 year ago

dpshelio commented 1 year ago

Exercise done alone:

  1. Using the fork of data structure for the group of people that you created earlier for :hash::nine:, clone your fork locally if you haven't already (or create a new fork and add the code from the example solution if your group hadn't managed to create a solution)

  2. Create a new branch from your team-named branch with your name only

  3. Add some code that makes use of comprehension expressions to your group.py file so that it prints out the following when the script is run:

    • 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
  4. Create a pull request (PR) from your branch to the original repository. Add a meaningful title to that PR and a link to this issue: Answers UCL-COMP0233-22-23/RSE-Classwork#11

Sample solution (with previously given sample data structure)

wenzhaojia2000 commented 1 year ago

Should be Answers UCL-COMP0233-22-23/RSE-Classwork#11 not Answers UCL-COMP0233-22-23/RSE-Classwork#9