contestada



A three-character code uses the letters D and Q. Either of the letters may be repeated.



​ Find the probability of a code with exactly two D’s.