Sunday, April 10, 2016

Variable in Python



Variable:
A “variable” is a container in which a data value can be stored within the
computer’s memory.
Declare a variable :
a = 8
Declare multiple variable :
a = b = c = 8
Declare multiple variable with different value :
a , b , c = 1 , 2 , 3
String data must be enclosed within quote marks (“ ” or ‘ ‘) to denote the start and end of the string.