You are viewing a single comment's thread. Return to all comments →
Well, the problem is set up with variable leap = False and then return leap at the end, which surely guides the beginners to the if-else method.
def is_leap(year): leap = False ### return leap
Seems like cookies are disabled on this browser, please enable them to open this website
Write a function
You are viewing a single comment's thread. Return to all comments →
Well, the problem is set up with variable leap = False and then return leap at the end, which surely guides the beginners to the if-else method.