Предмет:
ИнформатикаАвтор:
george95from 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
Автор:
augusthvqvДобавить свой ответ
Предмет:
ГеометрияАвтор:
laineywoodardОтветов:
Смотреть
Предмет:
ЛитератураАвтор:
paulinazrgxОтветов:
Смотреть