Skip to content

Conversation

@Rashaad-Ebrahim
Copy link

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

Prep exercises completed

Questions

No questions at this time

@Rashaad-Ebrahim Rashaad-Ebrahim linked an issue Jan 16, 2026 that may be closed by this pull request
@Rashaad-Ebrahim Rashaad-Ebrahim added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jan 16, 2026
Copy link

@LonMcGregor LonMcGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start on this sprint's tasks, I have spotted a few areas where you could improve code further

Have a look at the "files changed" tab - I think there are some changes here from other tasks

def print_family_tree(person: Person) -> None:
print(person.name)
for child in person.children:
print(f"- {child.name} ({child.age})")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you find a way to recursively print a full family tree - including grandchildren?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When i try to run this file at the command line I get an error, can you figure out why that happens and fix it?

@LonMcGregor LonMcGregor added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

01 Prep Exercises

2 participants