We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Line 8: frommonth[2] = 29tomonth[2] = 28
Line 35: fromx = x * 1000 + y1tox = x * 10000 + y1
Line 36: fromif x % 4 == 0 and x % 7 == 0:toif x % 4 == 0 or x % 7== 0:
Line 47: fromm1 = m1 + 1tom1 = 1
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Prime Dates
You are viewing a single comment's thread. Return to all comments →
Line 6: from month[2] = 28 to month[2] = 29
Line 8: from month[2] = 29 to month[2] = 28 Line 35: from x = x * 1000 + y1 to x = x * 10000 + y1 Line 36: from if x % 4 == 0 and x % 7 == 0: to if x % 4 == 0 or x % 7 == 0: Line 47: from m1 = m1 + 1 to m1 = 1