Skip to content

London | 26 - JUL-SDC| Ping Wang |Sprint 5 |Spring 5 exercises-CYF 1155 - #647

Open
pathywang wants to merge 10 commits into
CodeYourFuture:mainfrom
pathywang:Spring5-exercises
Open

London | 26 - JUL-SDC| Ping Wang |Sprint 5 |Spring 5 exercises-CYF 1155#647
pathywang wants to merge 10 commits into
CodeYourFuture:mainfrom
pathywang:Spring5-exercises

Conversation

@pathywang

Copy link
Copy Markdown

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

did prep then make new directory and new branch for this coursework

@pathywang pathywang added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Aug 3, 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.

Good start on these tasks. There are some issues to work on.

Be careful of your spelling here, there are a few issues, can you resolve them?

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 add explicit type annotations here?

]

for person in people:
possible_laptops = find_possible_laptops(laptops, person)

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.

When I run this, the suggested laptops are empty? Do you also see this?

try:
preferred_os = OperatingSystem(os_input)
except ValueError:
print("Error: invalid operating system.", file=sys.stderr)

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 think of a more ux-friendly way of validating this input?

@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 Aug 12, 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.

2 participants