variables in python

Variables Variables are names used to hold one or more values.. A variable is a way of referring to a storage area in a computer program.Values stored in a variable can be changed. Variables are just like named labels. For example, you can store name of a student in a variable “stud_name” or simply “name”. When you create a variable you reserve some space in memory. Unlike other programming languages you don't need to specify the type of variable and there is no command to declare a variable. The declaration happens automatically when you assign a value to a variable. For example, roll_no=121 Creates a variable namely “roll_no” of numeric type. Other examples: name=’Ankita’ #variable of type string percentage=76.9 #variable of type floating point Naming of variables should follow the rules of identifier naming rules. Dynamic Typing The ...