Remove The Duplicate Elements In Array In Python