How is this a perfect square and cube?

729 = 27 squaredand 729 = 9 cubed

you just proved it. a perfect square/cube/ whatever is a number where you can take the square or cube and it comes out to an integer. 729 just happens to be a number that is a perfect square and a perfect cube.