python
Define a function called get_longest_length (values_list) which takes a list of integers as input. The function should calculate and return the length of the longest consecutive sequence of non-zero values in the list. For example, consider the following list: values = [3, 6, 12, 0, 0, 9, 10, 5, 5, 0, 2, 1, 3, 0, 9] There are four distinct sequences of values in this list that are separated by zero values: 3, 6, 12 (this is of length 3) 9, 10, 5, 5 (this is of length 4) 2, 1, 3 (this is of length 3) 9 (this is of length 1) In this case, the length of the longest sequence is 4, so the function should return 4. You can assume that the input list contains at least one non-zero integer. For example: Test Result result = get_longest_length([3, 6, 12, 0, 0, 9, 10, 5, 5, 0, 2, 1, 3, 0, 9]) 4 print (result) 1 result = get_longest_length([100]) print (result)