Skip to content

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

a3rzi/Total-amount-of-points

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Total-amount-of-points

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.

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

No packages published

Languages