Introduction:
Variables are containers that hold values in the computer memory; We use variables in our program for various kind of manipulations.
Variables are containers that hold values in the computer memory; We use variables in our program for various kind of manipulations.
Variables are containers for holding values of different data types.
The variable might be belonging to any of the data types like Numbers, String, List, Tuple, Dictionary, etc.
The value of the variables may change in the program.
Python is a dynamically typed language, so the declaration of data type is not required. See Duck Typing
Rules for naming variable:
1. Variable names are case-sensitive.
A variable name cannot start with a number.
3. A variable name can only contain alpha-numeric characters (A-z, 0-9) and underscores ( _ ).





No comments:
Post a Comment