📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!

  • google app store apple app store
  • ✖

      Question

      What will be printed from the below code? List1

      =[‘Ixambee’,’provides’,’best’,’mock’,’tests’] print List1[2][-1]
      A e Correct Answer Incorrect Answer
      B s Correct Answer Incorrect Answer
      C best Correct Answer Incorrect Answer
      D t Correct Answer Incorrect Answer
      E provides Correct Answer Incorrect Answer

      Solution

      print List1[2][-1] will refer to the third element and will -1 will print the last one as the order get reversed.

      Practice Next
      ask-question