Allscripts Sunrise Clinical Manager may provide application data as an array of identifiers, such as encounter or order codes. Given an unsorted array and a target value, return the index of the target's first occurrence, or -1 if it is not present.
Implement search_element(arr, target).
arr is a list of integers.target is an integer to locate.0 through len(arr) - 1 for the first matching element.-1 when no element equals target.def search_element(arr, target):