You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: