Untitled
user_8840555
python
2 years ago
416 B
4
Indexable
from itertools import * c=0 for i in product('MNBVCX0123456789*!&',repeat = 3): s = ''.join(i) c += 1 print(c) k = 0 for i in permutations('012345AEIOUYaeiouy',r = 4): g = ''.join(i) k += 1 print(k) h = 0 for i in product('bcdfghjklmnpqrstvxz',repeat = 5): t = ''. join(i) if t.count('d') <= 1 and t.count('b') <= 1 and t.count('c') <= 1: h += 1 print(h) print(c+k+h)
Editor is loading...