### Instruction: there are 12 teams in a soccer league and each team plays each of the other teams once . how many games will be played in total ? Let's write a Python program to solve it.### Response: import math
n0 = 12.0
t0 = math.factorial(min(15, int(n0)))
t1 = math.factorial(min(15, int(2.0)))
t2 = n0 - 2.0
t3 = math.factorial(min(15, int(t2)))
t4 = t3 * t1
answer = t0 / t4
print(answer)