QuestionQ49

VerifiedPython Basics

Which of the following is the final output when program.py is run using a Python interpreter?

Question Image

Explanation

a + 5 evaluates to 15 but does not change the value stored in a. Since a was assigned 10, print(a) displays 10.

Community Discussion

No comments yet. Be the first to start the discussion!