input: Write a function to calculate the square root of a user-defined positive number. If the number is negative then raise an exception. The function should take the number as an input and return the square root.
  assert calculate_square_root(100)==10.0
  assert calculate_square_root(25)==5.0
  assert calculate_square_root(9)==3.0
  assert calculate_square_root(0)==0.0
  try:
      calculate_square_root(-1)
  except Exception as e:
      assert str(e) == "math domain error"
output: def calculate_square_root(number):
      if number < 0:
          raise ValueError("math domain error")
      return number ** 0.5