allMatches update

This commit is contained in:
tiagorg 2022-11-09 21:56:58 +00:00
parent 9aae8f6c9d
commit bcb84f0b46
Signed by untrusted user who does not match committer: TiagoRG
GPG Key ID: DFCD48E3F420DB42
1 changed files with 5 additions and 3 deletions

View File

@ -3,13 +3,15 @@ def main():
print(matches)
print(len(matches))
def allMatches(teamList):
matchList = []
for team1 in teamList:
for team2 in teamList:
if team1 == team2:
continue
if team1 != team2:
matchList.append((team1, team2))
return matchList
if __name__ == "__main__":