Given an integer number A consisting of n elements. How can i find the elements that occurred only once in the array python? For instance:
5
1 2 1 3 4
Output:
2 3 4
Given an integer number A consisting of n elements. How can i find the elements that occurred only once in the array python? For instance:
5
1 2 1 3 4
Output:
2 3 4