human
Write a python function to find the sum of the largest and smallest value in a given array. Here is a solution in Python:
assistant
#Here is Python program to find the sum of the largest and smallest value in a given array.
 def big_sum(nums):
      sum= max(nums)+min(nums)
      return sum