sample1dlist=[1,2,3,4,5,6] print(sum(sample1dlist))

sample1dlist=[1,2,3,4,5,6]
print(sum(sample1dlist))
print(max(sample1dlist))
print(min(sample1dlist))
sample1dlist.sort()
print("Sorted List", sample1dlist)
21
6
1
Sorted List [1, 2, 3, 4, 5, 6]
cc=[[1,2,3,4,5], 
    [1,1,1,1,1], 
    [1,2,1,1,1], 
    [3,2,1,1,1]]
visit=[[False]*len(cc[0])]*len(cc)
print(visit)
[[False, False, False, False, False], [False, False, False, False, False], [False, False, False, False, False], [False, False, False, False, False]]