Skip to content
New issue

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

Episode 3: issue with answer Exponentiation assignment #552

Open
kleuveld opened this issue Aug 26, 2022 · 0 comments
Open

Episode 3: issue with answer Exponentiation assignment #552

kleuveld opened this issue Aug 26, 2022 · 0 comments

Comments

@kleuveld
Copy link

Hi all,

The provided answer to the Exponentiation assignment in Ep 3 only works for exponents greater than 0. I had expected it work at least for exponents of 0, but seq(0) has a length of 2, which was a bit unexpected. Perhaps exponentiation is therefore not the best example of what you can do with loops (at least not before conditionals allow you to test for negative/positive)?

Cheers,
koen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant