← Quiz: DevSecOps Basics: all 10 questions
Quiz: DevSecOps Basics · Question 3 of 10
What does this print? (code)
What does this print?
print("2.10.0" > "2.9.0", (2, 10, 0) > (2, 9, 0))
- A.True True
- B.False True
- C.True False
- D.False False
Answer & explanation
Correct answer: False True
As text, "1" comes before "9", so the string compare is wrong; tuples compare number by number.
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 →