print("-----CALCULATOR-----")
symbol = input("Choose (+, -, *, /, **, sqrt, cbrt): ")
num1 = float(input("Enter the first number: "))
if symbol == "sqrt":
result = num1 ** 0.5
elif symbol == "cbrt":
result = num1 ** (1/3)
else:
num2 = float(input("Enter the second number: "))
if symbol == "+":
result = num1 + num2
elif symbol == "-":
result = num1 - num2
elif symbol == "*":
result = num1 * num2
elif symbol == "/":
if num2 != 0:
result = num1 / num2
else:
result = "Error cannot divide by zero"
elif symbol == "**":
result = num1 ** num2
else:
result = "Invalid Operation"
# 4. Print the final result exactly as calculated
print(f"Final Answer: {result}")