Python Variable

Variable

- The python variable is a reserved memory location to store values.

- Variable is like a container to store values.

- Variable used to hold values.

- Variable names like- Chirag and chirag are two different variables.

- If we write a variable name like- my self, without underscore it throws an error then we have to use the variable name as my_self.

- In the below code a,b,c and d are the variables.

Comments