це слово-підкова.)))))))))))))))))))))))))))))))
3.Борода
6.Волосы
7.Ус
8.тыква
from itertools import combinations_with_replacement as comb
def count(arr,num):
res=0
for i in arr:
if (int(i)==num): res+=1
return res
s=''
for i in range(10): s+=str(i)
print(len(list(filter(lambda x: int(x[0])%2==1 and count(x,7)==2 and count(x,2)==0 and count(x,0)==0,list(comb(s,5))))))
Будет выведено 63