smriteetamang54
smriteetamang54 smriteetamang54
  • 11-03-2021
  • Computers and Technology
contestada

write a program to input a number and display it's square root and cube root​

Respuesta :

TJC07
TJC07 TJC07
  • 11-03-2021

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

Explanation:

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

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

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

Answer Link

Otras preguntas

explain the role of water for the cell
_________ es un documento de identificación. La cita La visa El pasaporte El formulario de aplicación
PLEASE HELP PICTURE IS SHOWN
I struggle in math, and occasionally I'll confuse the questions I try to answer
does the infinite geometric series diverge or converge? Explain. 4+12+36+108+ ... A. It converges; it does not have a sum B. It diverges; it has a sum C. It co
Pls help and remember to include the paranthesis
What person or groups were influenced by the racial and economic philosophies of Marcus Garvey? A. the Nation of Islam and the Black Power Movement B. Booker
bobs parents have 7 kids there is sam, cory, mimi, camy, dude, and not who is the 7th one.
What were the two reasons that the Polish government imposed martial law in Poland in the early 1980s?
Each point on the edge of a circle is equidistant from the center of the circle. the center of a circle is located at (6, 3). which point on the y-axis could be