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

Typo in High Score Board Introduction #776

Closed
RemyXRenard opened this issue Nov 25, 2024 · 0 comments · Fixed by #777
Closed

Typo in High Score Board Introduction #776

RemyXRenard opened this issue Nov 25, 2024 · 0 comments · Fixed by #777

Comments

@RemyXRenard
Copy link

There is a minor typo In the README for the High Score Board exercise where Avogadro's number is used as one of the constants.

Line 16: let constants = ["pi": 3.14159, "e": 2.71828, "phi": 1.618033, "avogadro": 6.02214076e22]
Line 85: // => [(key "e", value 2.71828), (key "phi", value 1.618033), (key "pi", value 3.14159), (key "avogadro", value 6.02214076e+22)]

The correct value for the exponent at the end of line 16 and line 85 should be e23, not e22.

So, the proposed update would be:

Line 16: let constants = ["pi": 3.14159, "e": 2.71828, "phi": 1.618033, "avogadro": 6.02214076e23]
Line 85: // => [(key "e", value 2.71828), (key "phi", value 1.618033), (key "pi", value 3.14159), (key "avogadro", value 6.02214076e+23)]

Thanks. Chemistry teachers everywhere will appreciate the update!

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

Successfully merging a pull request may close this issue.

1 participant