Predict the output of the following program
check1 = ['Learn', 'Quiz', 'Practice', 'Contribute']
check2 = check1
check3 = check1[:]
check2[0] = 'Code'
check3[1] = 'Mcq'
count = 0
for c in (check1, check2, check3):
 if c[0] == 'Code':
  count += 1
 if c[1] == 'Mcq':
  count += 10
print (count)


Posted on by