You are viewing a single comment's thread. Return to all comments →
My Python3 solution:
def beautifulDays(i, j, k): daycount = int(0) for x in range(i, j+1): if (x - int(str(x)[::-1])) % k == 0: daycount += 1 return daycount
Seems like cookies are disabled on this browser, please enable them to open this website
Beautiful Days at the Movies
You are viewing a single comment's thread. Return to all comments →
My Python3 solution: