A Python variable is a reserved memory location that stores values. It is used to provide data for processing during run time. Every value in Python is associated with a type. Some examples of data types are numbers, strings, and objects.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.