input: Write a python function to calculate the square root of each number in a list using list comprehension.
  assert sqrt_list([2, 4, 9])==[math.sqrt(2), math.sqrt(4), math.sqrt(9)]
  assert sqrt_list([1, 16, 25])==[math.sqrt(1), math.sqrt(16), math.sqrt(25)]
  assert sqrt_list([0, 49, 64])==[math.sqrt(0), math.sqrt(49), math.sqrt(64)]
output: import math
  
  def sqrt_list(nums):
      return [math.sqrt(num) for num in nums]