What is Python Variable? A variable in Python is a storage location in a computer’s memory that is assigned a value. As a programmer, you can use variables to store data that can be manipulated and processed in a program. The value of a variable can be changed during program execution, which makes it a dynamic and flexible data type.