Untitled

mail@pastecode.io avatar
unknown
plain_text
24 days ago
767 B
5
Indexable
Never
TeamName = ["Team A", "Team B", "Team C"]  # Example team names
TeamPoints = [[3, 2, 1],  # Points for Team A
              [0, 3, 2],  # Points for Team B
              [1, 1, 2]]  # Points for Team C
LeagueSize = len(TeamName)  # Number of teams in the league
MatchNo = len(TeamPoints[0])  # Number of matches played (assuming all teams played same number of matches)

TeamCounter = 0
MatchCounter = 0
TotalPoints = [0 for i in range(LeagueSize)]

HighestResult = 0
LowestResult = 0
TopTeam = 0
BottomTeam = 0

for TeamCounter in range(0, LeagueSize):
    TotalPoints[TeamCounter] = 0 #set zero for each club's result details

for TeamCounter in range(0, LeagueSize):
    wins = 0 #set zero for each match details #3
    home = 0 #2
    drawn = 0 #1
    lost = 0 #0
Leave a Comment