Question

    How do you print the value of a variable ‘x’ in

    Python?
    A ‘output(x)’ Correct Answer Incorrect Answer
    B ‘print x’ Correct Answer Incorrect Answer
    C ‘print(x)’ Correct Answer Incorrect Answer
    D ‘display(x)’ Correct Answer Incorrect Answer

    Solution

    ‘print(x)’

    Practice Next

    Relevant for Exams: