Untitled
user_8840555
plain_text
2 years ago
208 B
3
Indexable
from itertools import *
c = 0
for i in product('0123456789ABCDE', repeat=6):
s = ''.join(i)
if s.count('0') > 2 and s[-1] == '9' and '23' not in s and s[0] != '0':
c += 1
print(oct(c))Editor is loading...