cara mendapatkan python root cube

# Check if the Square root of the First number is Equal to the Cube root of the Second number
import math
global x
global y
def check_square_and_cube(x, y):
  sq_rt_x=math.sqrt(x)
  cb_rt_y=(y**(1/3))
  if sq_rt_x==cb_rt_y:
    return True
  else :
    return False

check_square_and_cube(9, 27)
Successful Serval