Calculating the scores of sports team by using Lists inside Dictionary
[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)
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
[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)