Skip to content

Conversation

@EL1VAS
Copy link

@EL1VAS EL1VAS commented Oct 25, 2025

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

I worked throughout all exersices adding comments as answers and explanations.
I was researching and learning simultaneously the unknown topics.
Found quite challenging and exciting the pounds and hours projects, good work making this an exersice, it really allowed me to deeply understand a lot of consepts .

EL1VAS added 12 commits October 20, 2025 21:51
Removed redeclaration of 'str' variable in the 'capitalise' function.
Fixed a typo in comments line 23
Fixed variable scope issue by declaring decimalNumber before the function and logging the function's output.
Corrected the square function to accept a parameter and return its square.
Tested it by loging the functions value in the console
Updated the multiply function to return the product instead of logging it, fixing the undefined result issue.
Corrected the sum function to return the sum of two parameters.
Updated getLastDigit function to accept a parameter and return the last digit of the provided number. Deleted the previous definition of num variable
Created a function to calculate bmi rounded up to one decimal
Implemented upperSnake function to convert string to upper snake case.
Implemented toPounds function to convert pence to pounds format.
Updated comments with answers for time formatting questions. I didn't use Python visualizer as it doesn't really help me.
I tried many methods, but this is sitting the best with my logic. As I am more comfortable atm to work with strings I only converted to numbers when I had to do comparisons, then gave the results to string again.
@EL1VAS EL1VAS changed the title ITP-2025-1|Elena Vasileia|Week 4|Module-Structuring-and-Testing-Data/Sprint-2 ITP-2025-1|Elena Vasileia|Week 5|Module-Structuring-and-Testing-Data/Sprint-2 Oct 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant