Question

    Consider below arithmetic operation in python and

    predict the output X=7.5 Y=2 print(X//Y)
    A 3.0 Correct Answer Incorrect Answer
    B 3.75 Correct Answer Incorrect Answer
    C 3.75000 Correct Answer Incorrect Answer
    D will throw error Correct Answer Incorrect Answer
    E both 2 and 3 Correct Answer Incorrect Answer

    Solution

    division using(//) does not take remainder into consideration.

    Practice Next