##nums = [1, 2, 3, 4, 5, 6, 7, 3, 5, 3, 2, 5, 4]

##print(dir(nums))  #to get all possible method and properties

##nums.append(10) # add element to list at very end

##nums.insert(2, 10)  # add element to specific index. >> insert(index, element)

##nums.remove(5)  # remove an element by value

##nums.pop(0)  # remove an element by index number

##total = nums.count(4)  # count number of time it appeared on a list

##print(nums.count(4))

##i = nums.index(3) # index of an element in list

##sorting list
##nums.sort()   # ascending order
##nums.sort(reverse=True)     #decending order

##nums.reverse()  # reverses the list order

##print(nums)


