Square root inside a square root python
Question: I was wondering how to write a code showing the square root inside a square
root. This is what I have so far:

    
    
    number=float(input("Please enter a number: "))
    square = 2*number**(1/2)**(1/3)
    print(square)
    

But that's not right as I'm getting a different number from the calculator.


Answer: Import `math` and use `math.sqrt(math.sqrt(number))`

    
    
    import math
    number=float(input("Please enter a number: "))
    square = math.sqrt(math.sqrt(number))
    print(square)
    

