#Eissorten Eissorten = ['Vanille', 'Schokolade', 'Erdbeere', 'Zitrone', 'Cookie Dough'] Kombinationen = [] # Generate combinations of two scoops without repeating the same pair in reverse order for i in range(len(Eissorten)): for j in range(i + 1, len(Eissorten)): Kombinationen.append((Eissorten[i], Eissorten[j])) print("Es gibt {0} verschiedene Eiskombinationen zu probieren:".format(len(Kombinationen))) for combo in Kombinationen: print "{0} - {1}".format(combo[0],combo[1])