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

You answeredJUST NOW
Python
You passed all test cases!
STDIN
56 787 12;4 0 0;89 98 89;1 1 1;1 1 2
Expected STDOUT
[ 30.2 177.4 20.8]
Your STDOUT
[ 30.2 177.4 20.8]
STDIN
1 1 1;1 1 2
Expected STDOUT
[1. 1. 1.5]
Your STDOUT
[1. 1. 1.5]
STDIN
4 0 0;1 1 2
Expected STDOUT
[2.5 0.5 1. ]
Your STDOUT
[2.5 0.5 1. ]
STDIN
56 787 12;4 0 0;89 98 89
Expected STDOUT
[ 49.66666667 295. 33.66666667]
Your STDOUT
[ 49.66666667 295. 33.66666667]

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Gus Hahn-PowellAPR 21, 2021, 12:36:39 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.