Skip to content

Glasgow | 26-SDC-Mar | Mohammed Abdoon | Sprint 5 | Prep exercises#525

Open
M-Abdoon wants to merge 7 commits into
CodeYourFuture:mainfrom
M-Abdoon:prep-exercises
Open

Glasgow | 26-SDC-Mar | Mohammed Abdoon | Sprint 5 | Prep exercises#525
M-Abdoon wants to merge 7 commits into
CodeYourFuture:mainfrom
M-Abdoon:prep-exercises

Conversation

@M-Abdoon

Copy link
Copy Markdown

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

@M-Abdoon M-Abdoon added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 20, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Some minor changes needed in the laptop code, otherwise good work

matches = []

for laptop in laptops:
if laptop.os == person.preferred_os:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you consider a fallback, that way they still get an "imperfect" match if there are no preferred laptops left, or notify them somehow?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Thanks! I've added a fallback so that if no preferred OS matches are found, the user is notified and the available laptops are returned instead.

@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 Jun 3, 2026
@M-Abdoon

Copy link
Copy Markdown
Author

Changes made! Thank you.

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

Labels

Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants