➗ Riddle #71 of 256
A padlock uses a 4-digit code, and each digit can be anything from 0 to 9, with repeats allowed. How many different codes are possible?
Think about it first. When you're ready:
10,000 codes
Each of the 4 positions has 10 choices, so 10 x 10 x 10 x 10 = 10,000.