1.
[Python]
Which of these is not a core data type?
2.
[Python]
Which of the following are true of Python lists?
3.
[Python]
Which of the following will be the output of the given print statement:
def fun(x):
x[0] = 5
return x
g = [10,11,12]
print (fun(g), g)
Deselect Answer
4.
[Python]
Which collection is ordered, mutable and allows duplicate members?
5.
[Python]
Suppose a tuple, t, contains 10 elements. How can you set the 5th element of the tuple to 'Hello'?
6.
[Python]
Which of the following are mutable?
7.
[Python]
What command is used to insert 6 in a list ‘‘l’’ at 3rd position?
8.
[Python]
Is list less secured than tuple? Why
9.
[Python]
Elements from a list in Python can be removed one-by-one by
10.
[Python]
What is output of following code −
11.
[Python]
What is the output of the following program :
12.
[Python]
Which statement is used to tell Python to skip the rest of the statements in the current loop block and to continue to the next iteration of the loop?
13.
[Python]
Find the output of the following program:
nL = ['Harsh', 'Pratik', 'Bob', 'Dhruv']
pos = nL.index("edSlash")
print(pos * 3)Deselect Answer
14.
[Python]
Python is based on which type of Memory Allocation
15.
[Python]
In the Python statement x = a + 5 - b: