# Shouldn´t we consider the sales of a game across all the platforms?

My question is related to the various missions of the practice module “Python Data Analysis Basics Practice Problems”. For example, “Analyzing game sales 1” and “Analyzing game sales 3”.
In these missions when identifying most sold games neither instructions nor solutions take into account that many games were released for different platforms. It seems a bit strange to me to call, for example, the "Super Mario Bros. " the second most sold game with 40.24 million on global sales when “Grand Theft Auto V” (released for 5 platforms) collected 55.92 million globally.

Top 10 games without taking into account versions for different platforms:

``````import csv
opened_file = open('game_sales.csv')

games.sort(key=lambda game: float(game[-1]), reverse=True)

for game in games[:10]:
print(game[0], ':', game[-1])
``````
``````Wii Sports : 82.74
Super Mario Bros. : 40.24
Mario Kart Wii : 35.82
Wii Sports Resort : 33
Pokemon Red/Pokemon Blue : 31.37
Tetris : 30.26
New Super Mario Bros. : 30.01
Wii Play : 29.02
New Super Mario Bros. Wii : 28.62
Duck Hunt : 28.31
``````

Top 10 games sold on all the platforms:

``````import csv
opened_file = open('game_sales.csv')

sales_per_game={}
for row in games:
game = row[0]
sales = float(row[9])
if game not in sales_per_game:
sales_per_game[game] = 0
sales_per_game[game] += sales

sales_per_game_sorted = sorted(sales_per_game, key=sales_per_game.get, reverse=True)
for game in sales_per_game_sorted[:10]:
print(game, ":", sales_per_game[game])
``````
``````Wii Sports : 82.74
Grand Theft Auto V : 55.92
Super Mario Bros. : 45.31
Tetris : 35.84
Mario Kart Wii : 35.82
Wii Sports Resort : 33.0
Pokemon Red/Pokemon Blue : 31.37
Call of Duty: Black Ops : 31.029999999999998
Call of Duty: Modern Warfare 3 : 30.830000000000002
New Super Mario Bros. : 30.01
``````

I understand that these missions are for mere practice only, but I would specify that sales of the same game but on the different platforms are not taken into account. It took me a while to discover why my code wasn´t accepted as correct in the “Analyzing game sales 3” mission before I decided to check whether the different platform sales were included in the solution or not