You are viewing a single comment's thread. Return to all comments →
def decentNumber(n): for i in range(n + 1): if (n - i) % 3 == 0 and i % 5 == 0: print((n - i)*'5' + (i)*'3') return print(-1)
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and The Beast
You are viewing a single comment's thread. Return to all comments →