Skip to content

London | 26-ITP-May | Anita Amirhaeri | Sprint 2 | Structuring-and-Testing-Data - #1567

Open
anitahy73 wants to merge 10 commits into
CodeYourFuture:mainfrom
anitahy73:coursework/sprint-2
Open

London | 26-ITP-May | Anita Amirhaeri | Sprint 2 | Structuring-and-Testing-Data#1567
anitahy73 wants to merge 10 commits into
CodeYourFuture:mainfrom
anitahy73:coursework/sprint-2

Conversation

@anitahy73

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

Changelist

Submission of coursework for Sprint 2

Questions

anitahy73 added 10 commits July 26, 2026 15:47
Renamed variable 'str' to 'caps' to avoid redeclaration error.
Updated comments to explain the error and provided corrected code.
Corrected the function parameter from a number to a variable name.
Updated multiply function to return the product of two numbers and modified console log accordingly.
Fixed the sum function to return the correct value by placing the expression on the same line as the return statement.
Updated comments to include predictions, outputs, and explanations. Corrected the getLastDigit function to accept a parameter.
Added a function to convert strings to upper snake case.
Added a function to convert pence to pounds format.
Updated comments to clarify the behavior of the pad function in time formatting.
@anitahy73 anitahy73 added 📅 Sprint 2 Assigned during Sprint 2 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Module-Structuring-And-Testing-Data The name of the module. labels Jul 26, 2026
@LonMcGregor LonMcGregor added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Jul 27, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Good work, and good explanations, the task is complete

@LonMcGregor LonMcGregor added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed. Module-Structuring-And-Testing-Data The name of the module. 📅 Sprint 2 Assigned during Sprint 2 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants