input: Write a function to generate a list of squared values from a given list of integers using list comprehension. The function should return the resulting list.
  
  def get_squared_values(nums):
      return [x*x for x in nums]
  
  assert get_squared_values([1, 2, 3, 5, 8, 13]) == [1, 4, 9, 25, 64, 169]
  assert get_squared_values([-1, -2, -3, -5, -8, -13]) == [1, 4, 9, 25, 64, 169]
  assert get_squared_values([]) == []
  assert get_squared_values([0]) == [0]
  assert get_squared_values([10, 20, 30]) == [100, 400, 900]
output: def get_squared_values(nums):
      return [x*x for x in nums]