Ta có: \(0\le\left|x-3\right|< 3\)
\(\Rightarrow\left|x-3\right|\in\left\{0;1;2\right\}\)
\(\Rightarrow x-3\in\left\{1;\pm1;\pm2\right\}\)
Thay \(x-3=0\Rightarrow x=3\)
\(x-3=1\Rightarrow x=4\)
\(x-3=2\Rightarrow x=5\)
\(x-3=-1\Rightarrow x=2\)
\(x-3=-2\Rightarrow x=1\)
Vậy \(x\in\left\{1;2;3;4;5\right\}\)