You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that you've got a structure for your group in #5, we'd like you to create a new branch off your current group branch and create some functions.
Every group
Create a new branch from your current group branch that starts with stretch_. e.g. stretch_dpshelio-arcteaching-willgraham01
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-24-25/RSE-Classwork#6
The text was updated successfully, but these errors were encountered:
Now that you've got a structure for your group in #5, we'd like you to create a new branch off your current group branch and create some functions.
Every group
stretch_
. e.g.stretch_dpshelio-arcteaching-willgraham01
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 groupAdd 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-24-25/RSE-Classwork#6
The text was updated successfully, but these errors were encountered: