You are viewing a single comment's thread. Return to all comments →
from itertools import product def one(n,m): for tup in product('1',repeat=n): s=''.join(tup) i=int(s) if i%m==0: print(i-int(i/m)*m) print(one(3,3))
Seems like cookies are disabled on this browser, please enable them to open this website
Akhil and GF
You are viewing a single comment's thread. Return to all comments →