NOT allowed would be 023 (not allowed bcause all 3 positions are the same as yours)
also not allowed: 032 203 320 as only two numbers have switched places
ALSO NOT allowed would be x23 (nine codes ...we already counted the o23) 0x3 (nine codes....we counted 023) and 02x (nine codes again) codes)
total codes POSSIBE 10 x 10 x 10 = 1000
minus the not allowed codes above = 1000 -1-1-1-1-9-9-9 =___________ possible codes (I think!)