Answers for "how to get cube root python"

0

cube root in python

a=125
print(a**(1/3))
Posted by: Guest on August-24-2020
0

how to get cube root python

# 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)
Posted by: Guest on April-03-2021

Python Answers by Framework

Browse Popular Code Answers by Language