You can use this assignment in your class!
Mastery Progress(100.0%)
i
Your instructor specifically marked this question as important.
imgEducator’s Choice

You answeredJUST NOW
Python
You passed all test cases!
STDIN
1 0 0
Expected STDOUT
0.3244428422615251
Your STDOUT
0.3244428422615251
STDIN
0 1 0
Expected STDOUT
0.4866642633922876
Your STDOUT
0.4866642633922876
STDIN
0 0 1
Expected STDOUT
0.8111071056538127
Your STDOUT
0.8111071056538127
STDIN
1 1 0
Expected STDOUT
0.5735393346764044
Your STDOUT
0.5735393346764044
STDIN
1 1 1
Expected STDOUT
0.936585811581694
Your STDOUT
0.936585811581694

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Gus Hahn-PowellAPR 12, 2021, 2:10:53 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.
Submit answer

Was this helpful?

(Voting helps us personalize your learning experience!)

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