Max-Min Value Difference in List

A Python function to calculate the difference between the highest and lowest integer within a provided list.

Write a function that accepts a list of integers as an argument and returns the difference between the greatest and smallest integers from that list. ### Parameters - `nums`: A list of integers. The list cannot be empty. ### Return Value - Returns the difference between the highest and lowest values in the given list `nums`. ### Examples ```python # The biggest integer is 20, the smallest integer is 2, hence the difference is 18 find_difference([10, 15, 20, 2, 10, 6]) # Returns: 18 # The biggest integer is 15, the smallest integer is -9, hence the difference is 24 find_difference([-3, 4, -9, -1, -2, 15]) # Returns: 24 ```