Python
is fully object oriented program. A variable is a reserved
memory location to store values. In other words, a variable in a python program
gives data to the computer for processing. Variable also
known as identifier. Variable names can be a group of both letters and digits, but
they have to begin with a letter or an underscore
There
are three types of variable:
- Independent Variable
- Dependent Variable
- Controlling Variable
Independent
Variable: Independent variable
that stands alone and it does not changed by the other variables. It is
used to determine the dependent variable. Independent variable can be
controlled and manipulated.
Dependent
Variable: Dependent
Variable is a variable that depend on other factor. It is only affected by our changes to independent
variable.
Control
Variable: Control
Variable is a constant variable. It is used to regulate the flow of control in
the program.
Click Here for more information of Python

No comments:
Post a Comment