Answer: What will be the output of the following statements? i) list1 = [12,32,65,26,80,10] list1.sort() print(list1) ii) list1 = [12,32,65,26,80,10] sorted(list1) print(list1) Reply
Answer:
What will be the output of the following statements?
i) list1 = [12,32,65,26,80,10]
list1.sort()
print(list1)
ii) list1 = [12,32,65,26,80,10]
sorted(list1)
print(list1)