Learn How to Code using Python Day 2. Here in this post, you will learn about Python variables. 1. Python variables are containers for storing data values. 2. Python has no command for declaring a variable. 3. A variable is created the moment you first assign a value to it. 4. Variables do not need to be declared with any particular type, and can even change type after they have been set.