tests/test_lottery.py:14: AssertionError #1506
Answered
by
praxis-dev
praxis-dev
asked this question in
Q&A
-
Hi! I've encountered this error while performing test as stated at 6:29 moment of the course. There is something with the math - sums from assert functions appear to be one zero greater than it is needed. Any suggestions? Here it is:
Here is the code:
|
Beta Was this translation helpful? Give feedback.
Answered by
praxis-dev
May 25, 2022
Replies: 1 comment 1 reply
-
There was a typo in the code - an unnecessary * 10 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
praxis-dev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There was a typo in the code - an unnecessary * 10
Problem solved