Wurl processes ordered values used in streaming experiences. Given an array of integers, return the first element that appears exactly once in the array.
The element must be selected according to its position in the original array, not according to its numeric value. If every element repeats, return None.
Implement first_unique(nums).
nums, a non-empty list of integers.None if no such integer exists.def first_unique(nums):