Skip to content

Calculating the scores of sports team by using Lists inside Dictionary

License

Notifications You must be signed in to change notification settings

sichkar-valentyn/Lists_inside_Dictionary_in_Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Lists inside Dictionary in Python

Calculating the scores of sports team by using Lists inside Dictionary

Reference to:

[1] Valentyn N Sichkar. Lists inside Dictionary in Python // GitHub platform [Electronic resource]. URL: https://github.com/sichkar-valentyn/Lists_inside_Dictionary_in_Python (date of access: XX.XX.XXXX)

Description

Using Lists inside Dictionary, calculating the scores of sports team.
For the winning +3
For the Draw +1
For the losing -1

Format of input is following:
n # number of games
Team;score;Team;score

Format of output is following:
Team: number_of_games number_of_wins number_of_draw_games number_of_lost_games score_of_win_games

MIT License

Copyright (c) 2018 Valentyn N Sichkar

github.com/sichkar-valentyn

Reference to:

[1] Valentyn N Sichkar. Lists inside Dictionary in Python // GitHub platform [Electronic resource]. URL: https://github.com/sichkar-valentyn/Lists_inside_Dictionary_in_Python (date of access: XX.XX.XXXX)

About

Calculating the scores of sports team by using Lists inside Dictionary

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages