You can use this assignment in your class!
Mastery Progress(100.0%)
i

Unit 5: Probability basics

Your instructor specifically marked this question as important.
imgEducator’s Choice

You answeredJUST NOW
  • Solution
  • Unit test #1
  • Unit test #2
  • Unit test #3
  • Unit test #4
Python
You passed all unit tests!
Unit test number
1
Expected STDOUT
line 12
assert res == np.array([0. 3. 5.])
^
SyntaxError: invalid syntax
Your STDOUT
line 12
assert res == np.array([0. 3. 5.])
^
SyntaxError: invalid syntax
Unit test number
2
Expected STDOUT
line 12
assert res == np.array([0. 0. 0.])
^
SyntaxError: invalid syntax
Your STDOUT
line 12
assert res == np.array([0. 0. 0.])
^
SyntaxError: invalid syntax
Unit test number
3
Expected STDOUT
line 12
assert res == np.array([3. 3. 3.])
^
SyntaxError: invalid syntax
Your STDOUT
line 12
assert res == np.array([3. 3. 3.])
^
SyntaxError: invalid syntax
Unit test number
4
Expected STDOUT
line 12
assert res == np.array([0. 0. 0.])
^
SyntaxError: invalid syntax
Your STDOUT
line 12
assert res == np.array([0. 0. 0.])
^
SyntaxError: invalid syntax

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Gus Hahn-PowellOCT 8, 2021, 6:33:14 PM
Python

Was this helpful?

(Voting helps us personalize your learning experience!)
Think you've got it?
Select one of the following options:
  • A.
  • B.
  • C.
  • D.
Submit answer

Was this helpful?

(Voting helps us personalize your learning experience!)

You may exit out of this review and return later without penalty.