Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Project: Data Analysis

EPL Top Scorers by Season

Season Player Club Goals Games

2021-22 Mo Salah and Son Liverpool, Tottenham 23 35

2020-21 Harry Kane Tottenham Hotspur 23 35

2019-20 Jamie Vardy Leicester City F.C. 23 35

2018-19 Mohamed Salah Liverpool 22 38

2018-19 Aubameyang Arsenal 22 36

2018-19 Sadio Mane Liverpool 22 36

2016–17 Harry Kane Tottenham Hotspur 29 30

2015–16 Harry Kane Tottenham Hotspur 25 38

2014–15 Sergio Agüero Manchester City 26 33

2013–14 Luis Suárez Liverpool 31 33

2012–13 Robin van Persie Manchester United 26 38

2011–12 Robin van Persie Arsenal 30 38

2010–11 Carlos Tevez Manchester City 20 31

2010–11 Dimitar Berbatov Manchester United 20 32


The following algorithm will compute the average number of goals
the top scorers of the premier league scored each season since the
2010/2011 season. This information can be used to see which teams
the majority of the top scorers play for and how many goals they will
average per season.

#Each value represents a single player


for num in range(10):
print(num)

0
1
2
3
4
5
6
7
8
9
#Of the 10 players, each of them have averaged 20 goals per season
print("Input some integers to calculate their sum and average. Input
0 to exit.")
count = 0
sum = 0.0
number = 1

while number != 0:
number = int(input(""))
sum = sum + number
count += 1

if count == 0:
print("Input some numbers")
else:
print("Average and Sum of the above numbers are: ", sum /
(count-1), sum)

You might also like