Basic Python 49

set, count, index, reverse, sort, pop, strip, lstrip, rstrip, round, zip, |, ^, dict, sort, sorted, reverse, math, Queue, LifoQueue

setIt returns unique items.my_set={1,2,3,1,2}print(my_set)>>>{1, 2, 3}your_set=set([1,2,3,2,1])your_set>>>{1, 2, 3}set('abracadabra')>>>{'a', 'b', 'c', 'd', 'r'} countIt returns the number of elements with the specified value.fruits = ['apple', 'banana', 'cherry','banana', 'apple']fruits.count('apple')>>>2 index(x,n)Return zero-based index in the list of the first..