make each element in a list occur once python

Solutions on MaxInterview for make each element in a list occur once python by the best coders in the world