Start learning →
Home › Olympiad (Class 11) › Computer Science › Python Strings Lists and Tuples › In Python, the statement message = 'Hello' makes…

In Python, the statement message = 'Hello' makes the variable message:

ARefer to an object
BRename the keyword
CReplace the program
DReturn the function
Answer & Solution
Correct answer: A. Refer to an object
1. Assignment does not copy the text into the name. 2. The name is pointed at an object instead. 3. So the variable refers to an object. _Source: OpenStax Introduction to Python Programming, Chapter 3._
Practise this question with Quill — Olympiad (Class 11) →
Related questions