The numbers $1447$, $1005$ and $1231$ have something in common: each is a $4$-digit number beginning with $1$ that has exactly two identical digits. How many such numbers are there?
The numbers are $\overline{1abc}$ with exactly one digit repeated exactly twice.
Repeated digit $1$: one of $a,b,c$ is $1$ ($3$ ways), the others distinct and not $1$ in $9\cdot8$ ways, giving $216$. Repeated digit $d\ne1$, $d$ ($9$ ways) in two of $a,b,c$ ($3$ ways), the third not $1$ or $d$ ($8$ ways): $216$.
The numbers $1455$, $3035$ and $7735$ have something in common: each is a $4$-digit number ending in $5$ that has exactly two identical digits. How many such numbers are there?