Finding second highest number in a array
Given an array of integers, return the second highest distinct number. Return None if the array contains fewer than two distinct values.
Function signature: def second_highest(nums):
Input is a non-empty list of integers. The output is either an integer or None.
def second_highest(nums):