Pre-AlgebraMediumData, Statistics & Probability
Data, Statistics & Probability · Medium problem
A lock uses a -digit code, where each digit can be through and digits may repeat. How many codes are possible, and what is the probability of guessing the code correctly in one try?