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


    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

    Not sure which exam is best for you Talk to our expert

    Get My Free Call