Computer Science, asked by shivamYadavshi, 5 months ago

Q.5 What will be the output of the following statements?
i)
a=[12, 32, 65, 26, 80, 10]
a.sort()
print(a)
ii)
list1=[12, 32, 65, 26, 80, 10]
sorted(list)
print(list1)
list1=[1,2,3,4,5,6,7,8,9,10]
list1[:3] + list1[3:]
iv)
mylist={1,2,3,4,5,6,7,8,9,10]
mylist[:5]
print(mylist)​

Answers

Answered by anil1486
4

Answer:

gbvddvbcccvnngcxxxvbbnn

Similar questions