LearnFrenzy
Sign in Take a free test

Variables and Data Types · Variables and Data Types MCQ · Question 1

What is a variable in Python? Answer, explanation & discussion

  • MCQ
  • Easy
  • 0 comments
  • Answer explained
  • Moderated community
Question 1 Back to Exercise

Which statement best describes a variable in Python?

  • A A fixed-size memory box declared with a type
  • B A copy of the value assigned to it
  • C A constant that cannot change
  • D A name that refers to an object Correct
Correct Answer: Option D

Assignment binds a name to an object. The object has the type; the name can later be bound to a different object of any type.

Discussion & Comments 0

Share your method, a shortcut, or ask about a step you didn't follow.

No comments yet. Be the first to share your solution!

Post your comment

Comments appear after a quick review by our team.

Search LearnFrenzy

Esc

Quick links