West Midlands | ITP-Sept-25 | Mustaf Asani | Sprint 1 | coursework/sprint-1#754
Closed
asaniDev wants to merge 13 commits intoCodeYourFuture:mainfrom
Closed
West Midlands | ITP-Sept-25 | Mustaf Asani | Sprint 1 | coursework/sprint-1#754asaniDev wants to merge 13 commits intoCodeYourFuture:mainfrom
asaniDev wants to merge 13 commits intoCodeYourFuture:mainfrom
Conversation
…t I think they do
LonMcGregor
reviewed
Oct 15, 2025
LonMcGregor
left a comment
There was a problem hiding this comment.
Good start on this sprint's tasks, I have spotted one area where you could improve answers further
| // Can you think of a better name for this variable? movieLengthFormat | ||
|
|
||
| // f) Try experimenting with different values of movieLength. Will this code work for all values of movieLength? Explain your answer | ||
| // f) Try experimenting with different values of movieLength. Will this code work for all values of movieLength? I think it will work for all positive value of movieLength. |
There was a problem hiding this comment.
Can you find any input values that give you strange outputs?
Author
There was a problem hiding this comment.
when i use negative values it does give unusual outputs, i added a math.abs method to the input to handle any negative values.
|
Your PR couldn't be matched to an assignment in this module. Please check its title is in the correct format, and that you only have one PR per assignment. If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed). |
This was referenced Dec 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Learners, PR Template
Self checklist
Changelist
finished all the exercises in sprint 1