Square Rooting in python : Our code lets us input a number, but then does not let us find the square root of it. Is the code only allowing us to square root perfect squares, or is it something else. Here is the code:

    elif a == "Square" or a == "Square please":
        print("Please enter a number:")
        num1 = int(input())
        print("Your answer is:")
        answer = sqrt(num1)
        print(answer)