On a bike lock there are four tumblers where the digits 0, 1, 2, ...., 9 appear on each
tumbler.
If the lock is made up of four numbers answer the following:
1. The number of possible codes for the lock if repetition is allowed.
2. The number of possible codes for the lock if no number is repeated.