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
I have been trying to debug two parts of my code, with no success. I am not passing the Test Convert Target To Target with an AssertionError: AssertionError: assert 14.6615 == 14.6614 E + where 14.6615 = Currency(15.0, 'MXN').value. I think this is just a rounding error, but wanted to check.
Then secondly, I am not passing the test Test Add Methods with an AssertionError: assert 3.1496 == 4. This is more then a rounding error, but I am not seeing what is going wrong it my code.
I have been trying to debug two parts of my code, with no success. I am not passing the Test Convert Target To Target with an AssertionError:
AssertionError: assert 14.6615 == 14.6614 E + where 14.6615 = Currency(15.0, 'MXN').value
. I think this is just a rounding error, but wanted to check.Then secondly, I am not passing the test Test Add Methods with an
AssertionError: assert 3.1496 == 4
. This is more then a rounding error, but I am not seeing what is going wrong it my code.Assignment: http://learn.rmotr.com/python/base-python-track/advanced-oop/currency-my-way-out
User code:
The text was updated successfully, but these errors were encountered: