import numpy as np a = 1 b = 25 c = 30.82 d = 100 e = 400.40 arr = [a, b, c] # Method #4 - Numpy square roots a_sqrt = np.sqrt(a) b_sqrt = np.sqrt(b) c_sqrt = np.sqrt(c) d_sqrt = np.sqrt(d) e_sqrt = np.sqrt(e) arr_sqrt = np.sqrt(arr) # Print print("Method #4 - Numpy square roots") print("--------------------------------------------------") print(f"Square root of {a} = {a_sqrt}") print(f"Square root of {b} = {b_sqrt}") print(f"Square root of {c} = {c_sqrt}") print(f"Square root of {d} = {d_sqrt}") print(f"Square root of {e} = {e_sqrt}") print(f"Square root of {arr} = {arr_sqrt}")