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.
It works... can u explain
a=(False)
b=(True)
if year in range(1900,pow(10,5)):
if (year%(4 or 400))!=0:
return a
if (year%100)==0:
return a
else:
return b
in test case 5 it fails
Write a function
You are viewing a single comment's thread. Return to all comments →
It works... can u explain a=(False) b=(True) if year in range(1900,pow(10,5)): if (year%(4 or 400))!=0: return a
if (year%100)==0: return a else: return b in test case 5 it fails