how to get a square root in swift code example Example: square root swift let result = sqrt(25) print(result)