basket = ['apple', 'orange', 'apple', 'pear', 'orange', 'banana']fruit = set(basket) # create a set without duplicatesprint fruitprint 'orange' in fruit # fast membership testingprint 'crabgrass' in fruit
Name (required)
email (will not be published) (required)
Website