Photon's event viewer stores event identifiers in an array. Given a starting index, return every event exactly once by traversing forward and wrapping from the last element back to the first.
The traversal must preserve the array's circular order. For example, starting at index 2 in a five-element array visits indices 2, 3, 4, 0, 1.
Implement circular_order(events, start_index):
events is a non-empty list of values.start_index is an integer from 0 through len(events) - 1.events, beginning at start_index and continuing forward with wraparound.events.def circular_order(events, start_index):