← Quiz: itertools and functools: all 10 questions
Quiz: itertools and functools · Question 3 of 10
Choosing a class monitor and a deputy from 10 students is which kind of count?
Choosing a class monitor and a deputy from 10 students is which kind of count?
- A.A permutation, because the two roles are different
- B.A combination, because order never matters
- C.A product of 10 and 10
- D.Neither
Answer & explanation
Correct answer: A permutation, because the two roles are different
(Asha, Ravi) and (Ravi, Asha) are different outcomes, so order matters: 10P2 = 90.
Can you get the rest right without peeking?
Take the timed Quiz: itertools and functools quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →