77.8k views
18 votes
Write a program to input a number and display it's square root and cube root​

1 Answer

3 votes

Answer: Here you go, change it however you like :)

Step-by-step explanation:

x = int(input("Enter number: "))

print(f"\\Square root: {x**(1./2.)}")

print(f"\\Cube root: {x**(1./3.)}")

User Nsane
by
4.9k points