import math
number = float(input("Enter a number: "))
square_root = math.sqrt(number)
cube_root = number**(1/3)
print(f"Square root of {number} is: {square_root}")
print(f"Cube root of {number} is: {cube_root}")
To embed this project on your website, copy the following code and paste it into your website's HTML: