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

variables5 is confusing #1713

Open
shadows-withal opened this issue Oct 11, 2023 · 1 comment
Open

variables5 is confusing #1713

shadows-withal opened this issue Oct 11, 2023 · 1 comment

Comments

@shadows-withal
Copy link
Member

It teaches about shadowing, which is not really useful if used like this (nor is it appropriate at this point in the curriculum).

@alex-ter
Copy link

At the very least I'd suggest elaborating on what's expected. Of course the hint has it, but for those who don't want to go for hints 🙂 it would be helpful to clarify that what the exercise wants is to preserve the println! lines as-is too, i.e., to have that number + 2 piece intact.

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

2 participants