Python for Loop MCQ - Quiz

  • A('P')('y')('t')('h')('o')('n')
  • Bpython 0 1 2 3 4 5
  • C('p', '0')('y', '1')('t', '2')('h', '3')('o', '4')('n', '5')
  • D (0, 'P')(1, 'y')(2, 't')(3, 'h')(4, 'o')(5, 'n')
  • A[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
  • B[[0, 4, 8], [1, 5, 9], [2, 6, 10], [3, 7, 11]]
  • C[[0, 1, 2], [3, 4, 5], [6, 7, 8], [9, 10, 11]]
  • D[0, 1, 2, 3], [4, 5, 6, 7], [8, 9, 10, 11]
  • Anested while
  • Bnested do while
  • Cnested for
  • Dsimple loop