Sunday, September 14, 2014

Python for Testers : Variables


Variables in Python

Variables are used to hold data, and value of variable can be change
In python we need not to declare variable, variables are declared automatically when we assign value to it

I=10;  #  int type variable is declared

J=100.055;   #  float type variable is declared

K=”Hello World”;  #   String type variable is declared

Program ::: Variable.py



No comments:

Post a Comment