Now that you've got a structure for your group in #9, we'd like you to create a new branch off your current group branch and create some functions.
Is your group connecting remotely? Do this first
- Turn your video cameras on!
- Choose one person who will share their screen.
Every group
Create a new branch from your current group branch that starts with stretch_. e.g. stretch_dpshelio-ageorgou-stefpiatek
Discuss with your group the best way to make the following functions, you can add extra parameters to the functions if you think it would be useful.
forget(person1, person2) which removes the connection between two people in the group
add_person(name, age, job, relations) which adds a new person with the given characteristics to the group
average_age() which calculates the mean age for the group
Commit your changes to your branch! (with a meaningful message)
Push your changes from your computer to your fork.
Create a pull request (PR) from your branch to original friend-group repository.
Add a meaningful title to that PR and don't forget to mention your partners in the description (as @username) and a link to this issue: Answers UCL-COMP0233-22-23/RSE-Classwork#10
Now that you've got a structure for your group in #9, we'd like you to create a new branch off your current group branch and create some functions.
Is your group connecting remotely? Do this first
- Turn your video cameras on! - Choose one person who will share their screen.Every group
stretch_
. e.g.stretch_dpshelio-ageorgou-stefpiatek
forget(person1, person2)
which removes the connection between two people in the groupadd_person(name, age, job, relations)
which adds a new person with the given characteristics to the groupaverage_age()
which calculates the mean age for the group@username
) and a link to this issue:Answers UCL-COMP0233-22-23/RSE-Classwork#10