A two-digit access code is generated by choosing each digit independently from 0 to 9, with every digit equally likely. A leading zero is allowed.
Find the probability that the two digits are equal.
Find the probability that at least one digit is 7.
For 500 generated codes, find the expected number containing no digit 7.