1. 00+99
2. 00099
3. +0099
4. +++99
+0099
1. list1 = list()
2. list1 = []
3. list1 = list([1, 2, 3])
4. all of the mentioned
all of the mentioned
1. [‘h’, ‘e’, ‘l’, ‘l’, ‘o’]
2. [‘hello’]
3. [‘llo’]
4. [‘olleh’]
[‘h’, ‘e’, ‘l’, ‘l’, ‘o’]
1. 5
2. 4
3. None
4. Error
5
1. 2445
2. 133
3. 12454
4. 123
12454
1. 3
2. 5
3. 25
4. 1
1
1. 1
2. 9
3. 15
4. error
15
1. list1.shuffle()
2. shuffle(list1)
3. random.shuffle(list1)
4. random.shuffleList(list1)
random.shuffle(list1)
1. print(list1[2:])
2. print(list1[:2])
3. print(list1[:-2])
4. all of the mentioned
all of the mentioned
1. Error
2. None
3. 25
4. 2
25