/Lists_inside_Dictionary_in_Python

Calculating the scores of sports team by using Lists inside Dictionary

Primary LanguagePythonMIT LicenseMIT

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)