We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it me or does the currently is-even? function seem wrong?
is-even?
(defn is-even? [n] (if (= n 0) __ (___ (is-even? (dec n)))))
Should it not be ...
(defn is-even? [n] (if (= (rem n 2) 0) true (not (is-even? (dec n)))))
The text was updated successfully, but these errors were encountered:
Whoops mistake. I understand why it works already
Sorry, something went wrong.
No branches or pull requests
Is it me or does the currently
is-even?
function seem wrong?Should it not be ...
The text was updated successfully, but these errors were encountered: