islower()
isupper()
Islower()
None
str1[ : : -1 ]
str1[ : : 1 ]
str1[ : -1 : -1 ]
find()
copy()
upper()
capitalize()
List
Tuple
Dictionary
arr[-2]
arr[2]
arr[-1]
arr[1]
space
colon
semi colon
index()
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()
count()
strip()
All the above
List of tuple
Tuple of List
Array of Tuples
Invalid Type
Union
Intersection
Difference