
Mike D. answered 05/03/21
Effective, patient, empathic, math and science tutor
(a) 1st digit can be chosen in 5 ways and second in 5 ways (as repetition is permitted), so 5 x 5 = 25 two digit numbers
(b) 1st can be chosen in 5 ways, and second in 4 (as 1 digit has been used and repetition isn't possible), so 5x4 = 20 two digit numbers
You can list out the possibilities to check these if you wish