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
First time through, I got this problem (and result):
11 x + 12 = 21
Round answer to two decimal places
x = 0.82
Try again
The correct answer is 0.8181818181818182
Second time through, I got this:
9 x + 11 = 6
Round answer to two decimal places
x = -0.56
Try again
The correct answer is -0.5555555555555556
Next run gave this:
9 x + 0 = 33
Round answer to two decimal places
x = 3.67
Try again
The correct answer is 3.6666666666666665
11 x + -3 = 31
Round answer to two decimal places
x = 3.09
Try again
The correct answer is 3.090909090909091
In all examples, the supplied 'correct' answer is not rounded to two digits, which in turn marks the actual correct answer given as wrong.
On Sun, Jan 29, 2023, 3:09 AM Monte Milanuk ***@***.***> wrote:
Rounding problems involving repeating digits returns incorrect results.
First time through, I got this problem (and result):
11 x + 12 = 21
Round answer to two decimal places
x = 0.82
Try again
The correct answer is 0.8181818181818182
Second time through, I got this:
9 x + 11 = 6
Round answer to two decimal places
x = -0.56
Try again
The correct answer is -0.5555555555555556
Next run gave this:
9 x + 0 = 33
Round answer to two decimal places
x = 3.67
Try again
The correct answer is 3.6666666666666665
11 x + -3 = 31
Round answer to two decimal places
x = 3.09
Try again
The correct answer is 3.090909090909091
In all examples, the supplied 'correct' answer is *not* rounded to two
digits, which in turn marks the actual correct answer given as wrong.
—
Reply to this email directly, view it on GitHub
<#4>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYES3ZJHMWV4LMVXNZ3S233WUYQS5ANCNFSM6AAAAAAUKDNDAA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
Monte,
I just fixed those two errors. I am embarrassed that I did not catch
those errors earlier. Thank you again for pointing them out. I hope you are
enjoying the course
-Ed
Edward Pratowski
Math Teacher
***@***.***
On Sun, Jan 29, 2023 at 3:09 AM Monte Milanuk ***@***.***> wrote:
Rounding problems involving repeating digits returns incorrect results.
First time through, I got this problem (and result):
11 x + 12 = 21
Round answer to two decimal places
x = 0.82
Try again
The correct answer is 0.8181818181818182
Second time through, I got this:
9 x + 11 = 6
Round answer to two decimal places
x = -0.56
Try again
The correct answer is -0.5555555555555556
Next run gave this:
9 x + 0 = 33
Round answer to two decimal places
x = 3.67
Try again
The correct answer is 3.6666666666666665
11 x + -3 = 31
Round answer to two decimal places
x = 3.09
Try again
The correct answer is 3.090909090909091
In all examples, the supplied 'correct' answer is *not* rounded to two
digits, which in turn marks the actual correct answer given as wrong.
—
Reply to this email directly, view it on GitHub
<#4>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYES3ZJHMWV4LMVXNZ3S233WUYQS5ANCNFSM6AAAAAAUKDNDAA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
Activity
edatfreecodecamp commentedon Jan 29, 2023
edatfreecodecamp commentedon Jan 30, 2023
Update Week-02-practice.ipynb
jkostovick commentedon Jun 2, 2025
It's working fine I didn't have any problems