← Quiz: DevSecOps Basics: all 10 questions
Quiz: DevSecOps Basics · Question 5 of 10
What does this print? (code)
What does this print?
scores = [9.8, 4.2, 7.0, 2.5]
print(sum(1 for s in scores if s >= 7.0))
- A.1
- B.2
- C.3
- D.4
Answer & explanation
Correct answer: 2
9.8 and 7.0 are at or above 7.0, so two findings would block a High/Critical gate.
Can you get the rest right without peeking?
Take the timed Quiz: DevSecOps Basics quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →