text_html_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

df = pd.read_csv('/kaggle/input/videogamesales/vgsales.csv')
df

over10000 = df[df['Global_Sales'] > 0.01]
over10000

wii_average_sales = over10000[over10000['Platform'] == 'Wii']['Global_Sales'].mean()
other_platforms_average_sales = over10000[over10000['Platform'] != 'Wii']['Global_Sales'].mean()
if wii_average_sales > other_platforms_average_sales:
    print('The average number of sales for the Nintendo Wii is higher than all the other platforms.')
else:
    print('The average number of sales for the Nintendo Wii is lower than all the other platforms.')