items = ['a', 'b', 'c']
from itertools import permutations
p = len([*permutations(items, 2)])
print(p)
Post #1371
2.38K
Что выведет код?