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
4
Answer:
gbvddvbcccvnngcxxxvbbnn
Similar questions
Math,
2 months ago
Physics,
2 months ago
Science,
5 months ago
Geography,
5 months ago
India Languages,
11 months ago
India Languages,
11 months ago
India Languages,
11 months ago