human
Perfect Cube | Function to check if a number is a perfect Cube using inbuilt function.
If cube of cube_root is equals to N , then print Yes Else print No.
Driver 's code.
Function call to check N is cube or not"
How can the above be solved in Python?

Can you provide a code to perfect Cube and the other steps required?
assistant
#Here is code to perfect Cube and the other steps required.
 def perfectCube ( N ) :
	cube_root = round ( N ** ( 1 / 3 ) ) ;
	if cube_root * cube_root * cube_root == N :
		print ( " Yes " ) ;
		return ;
	else :
		print ( " NO " ) ;
		return ;
if __name__ == " _ _ main _ _ " :
	N = 125 ;
	perfectCube ( N ) ;