Implementing a square root function in a utility script

Report a typo

You're working on a mathematics function utility but encountered some missing parts in your Python script. The script requires you to fill in the blanks so that it uses a standard Python library to compute the square root of a number in the invoke_sqrt function. This function should then be invoked to compute the square root of 25 and the result printed. Ensure your implementation follows Python's best practices.

Fill in the gaps with the relevant elements
 

def invoke_sqrt():
    return str(math.(25))

print(invoke_sqrt())
sqrtimportmath

Create a free account to access the full topic