# Python programming MCQ Questions

Post A Question

Classifications:

MCQ Questions Categories:

No collections found!

###### Are nested if-else are allowed? 1 answers 174 Views 0 Likes
###### Output is: print(\"Hello {0} and {0}\".format((\'foo\', \'bin\'))) 1 answers 550 Views 5 Likes
###### Which of the following data type use Key:pair 1 answers 191 Views 1 Likes
###### Output is: a=[1,2,3,4] b=[sum(a[0:x+1]) for x in range(0,len(a))] print(b) 1 answers 517 Views 3 Likes
###### Guess the output: a=[14,52,7] b=a.copy() b is a 1 answers 197 Views 0 Likes
###### Assume the output: a=list((45,)*4) print((45)*4) print(a) 1 answers 198 Views 0 Likes
###### Output is: l = [1,2,6,5,7,8] l.insert(9) 1 answers 237 Views 1 Likes
###### Predict the output: List = [True, 50, 10] List.insert(2, 5) print(List, \"Sum is: \", sum(List)) 1 answers 204 Views 0 Likes
###### Output is: x = [i**+1 for i in range(3)] print(x) 1 answers 143 Views 0 Likes
###### Assume the output values : [[3, 4, 5, 1], [33, 6, 1, 2]] v = values for lst in values: for element in lst: if v > element: v = element print(v) 1 answers 325 Views 4 Likes
###### Which of the following statement is correct 1 answers 161 Views 0 Likes
###### Suppose list1 is [1, 3, 2], What is list1 * 2 ? 1 answers 161 Views 0 Likes
###### Assume the output : list1 = [1, 2, 3, 4] list2 = [5, 6, 7, 8] print(len(list1 + list2)) 1 answers 134 Views 0 Likes