Predict the output
import random
x=['a','b','c','d','e','f']
random.shuffle(x)
print("order of teams")
nx=[]
for i in x:
    x=i
    nx+=[x]
    print(x,end=", ")
n=[]
x=nx
for i in range(5):
    n+=[i]
print()
print("lap of honour")
for i in x:
    random.shuffle(n)
    for j in n:
        print(i+str(j),end=", ")
        
    print()

Posted on by