Interview Question

What are variables in Python?

Python variables are names bound to objects.

💡 Concept ✅ Quick Revision 🐍 Python

Answer

A Python variable is a name bound to an object. • Assignment creates or changes a name binding. • A name does not permanently store one declared type. • Several names can refer to the same object.

💡 Simple Example

value = 10 value = 'ten' print(value)

Output

ten

⚡ Quick Revision

Python variables are names bound to objects.