 # how to define?
#within square brackets-[]
#lst=[50,"hello",50.5,True,50]
#indx   0    1      2    3   4
#print(lst)
#fetch- indexing
#print(lst[1])

# IS IT POSIBLE TOP UPDATE? YES, mutable
#lst[0]=55

#is it possible to store duplicate ? Yes
#lst=[50,"hello",50.5,True,50]

#insertion order preserved- print list in the same ordr they are  inserted

# how to create empty list
lst=[]
lst=list()# creating an empty list

# method for adding an element
#lst = list()
#lst.append(50) adding elmt to empty list
for i range(1,51):
    lst.append(i) #class list
                   # def append
print(lst)

# total sum
total=sum(lst)
print(total)
# highest elemt
high= max(lst)
# lowest elemt
mini=min(last)




