Skip to content

London | 26-SDC-Mar | Mariia Serhiienko | Sprint 5 |Prep exercises#534

Open
Konvaly wants to merge 10 commits into
CodeYourFuture:mainfrom
Konvaly:prep-exercises
Open

London | 26-SDC-Mar | Mariia Serhiienko | Sprint 5 |Prep exercises#534
Konvaly wants to merge 10 commits into
CodeYourFuture:mainfrom
Konvaly:prep-exercises

Conversation

@Konvaly
Copy link
Copy Markdown

@Konvaly Konvaly commented May 31, 2026

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

Completed all prep exercises for Sprint 5: Types and typechecking.

Exercises completed:

  • Step 1: Why we use types - predicted and tested type behaviour in Python
  • Step 2: Type checking with mypy - added type annotations, found and fixed bugs
  • Step 3: Classes and objects - used classes for type safety over dictionaries
  • Step 4: Methods - converted free functions to methods, used datetime.date
  • Step 5: Dataclasses - used @DataClass decorator with frozen=True
  • Step 6: Generics - used List["Person"] for type-safe lists
  • Step 7: Type-guided refactorings - used mypy to guide code changes
  • Step 8: Enums - built laptop library program with user input and enum validation
  • Step 9: Inheritance - predicted Parent/Child class behaviour

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

1 participant