list.distinct.tolist

using above function