🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Evaluation and Tuning: all 10 questions

Quiz: Evaluation and Tuning · Question 6 of 10

What does this print? (code)

What does this print?

folds = [0.84, 0.81, 0.75, 0.86, 0.81]
print(round(sum(folds) / len(folds), 3), round(max(folds) - min(folds), 2))
  1. A.0.814 0.11
  2. B.0.81 0.86
  3. C.0.814 0.75
  4. D.4.07 0.11
Answer & explanation

Correct answer: 0.814 0.11

The mean is 0.814; the range shows how much the score varies between folds.

Can you get the rest right without peeking?

Take the timed Quiz: Evaluation and Tuning quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →