You are viewing a single comment's thread. Return to all comments →
python
def decentNumber(n): res = -1 for i in range(0, n+1, 5): threes, fives = i, n - i if not threes % 5 and not fives % 3: res = '5' * fives + '3' * threes print(res) return res print(res) return res
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 →
python