Our team's match results are recorded in a collection of strings. Each match is represented by a string in the format "x:y", where x is our team's score and y is our opponents score. We need to write a function that takes this collection and returns the number of points our team (x) got in the championship by the rules given above.
-
Notifications
You must be signed in to change notification settings - Fork 0
Our team's match results are recorded in a collection of strings. Each match is represented by a string in the format "x:y", where x is our team's score and y is our opponents score. We need to write a function that takes this collection and returns the number of points our team (x) got in the championship by the rules given above.
a3rzi/Total-amount-of-points
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Our team's match results are recorded in a collection of strings. Each match is represented by a string in the format "x:y", where x is our team's score and y is our opponents score. We need to write a function that takes this collection and returns the number of points our team (x) got in the championship by the rules given above.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published