πŸ“’ Too many exams? Don’t know which one suits you best? Book Your Free Expert πŸ‘‰ call Now!


    Question

    What is the outpur of the following part of python

    program? s="india" 1=0 for x in s: if(X!="i"): 1=1+1 else: pass print(1)
    A 1 Correct Answer Incorrect Answer
    B 5 Correct Answer Incorrect Answer
    C 6 Correct Answer Incorrect Answer
    D 3 Correct Answer Incorrect Answer

    Solution

    The correct answer is D

    Practice Next
    More IT Operating System Questions

    Relevant for Exams:

    ask-question