Glasgow | 26-Jul-SDC | Shreef Ibrahim | Sprint 5 | Prep Exercises - #662
Glasgow | 26-Jul-SDC | Shreef Ibrahim | Sprint 5 | Prep Exercises#662shreefAhmedM wants to merge 13 commits into
Conversation
…om str to List[str]
This comment has been minimized.
This comment has been minimized.
4 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
LonMcGregor
left a comment
There was a problem hiding this comment.
Good start, but there is still some work to do here
One of the tasks, generics and printing out a family tree might be missing
| total_string = format_pence_as_string(total_pence) | ||
|
|
||
| print(f"The bank accounts total {total_string}") | ||
| def is_adult(person: Person) -> bool: |
There was a problem hiding this comment.
Are these last few lines in the right file?
There was a problem hiding this comment.
I think one of the tasks, explaining the difference between functions and methods is missing
| ] | ||
|
|
||
| for person in people: | ||
| possible_laptops = find_possible_laptops(laptops, person) |
There was a problem hiding this comment.
When I run this, I get empty output. Do you see that? Why do you think this happens?
There was a problem hiding this comment.
Yes, I see the error. i have updated.
There was a problem hiding this comment.
This implementation works, but could the UX and input validation be improved?
|
Thanks for completing the missing tasks and updating this. This task is complete now |
Learners, PR Template
Self checklist
Changelist
Sprint 5 prep exercises covering dataclasses, type annotations, enums, inheritance, methods, and refactoring and testing the code with mypy.
Task code: CYF-1155