Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Deleting repeated values in an array  RSS feed

 
Zak Tacc
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there a way to delete any repeated values in an array?
 
pete reisinger
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can use set instead of array if you don't want duplicates.
the set interface
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!