write a function to find the sum of the largest and smallest number in the array
Answers
Answered by
0
nums = [69, 6, 9]
def find(arr):
print(f"Smallest: {min(nums)}\nLargest: {max(nums)}")
find(nums)
Similar questions