index()
find()
Both of the above
None of the above
What will be the output of the following code ?
st='abcdefg' print(st[2:5])
'cde'
'abc'
'efg'
None of these
what will the output of following code
my_string="Hello,world" print(my_string[-6:-1])
',worl'
'worl'
'world'
'oworld'
pop()
delete()
remove_last()
delete_last()
What will be the output of the following Python code?
>>>max("what are you")
what
y
a
Error
White Space
,
e
S
What will be the output of the following code?
list1=[2,33,222,14,25] print(list1[-1])
2
33
14
25
a=((0,2,3,4)[1:-2]) print(a)
(3,)
(2, )
(1,)
(0,)
list.contains(value)
list.index(value)
value in list
Yes, list mutable and tuple immutable
No, list and tuple both are mutable
No, list and tuple both are in immutable
No, just opposite, list immutable and tuple mutable
dictionary()
set()
tuple()
list()
List of tuple
Tuple of List
Array of Tuples
Invalid Type