Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
L1(variables n datatypes).pptx
1. keyword is a reserved word.they are used for
special purposes in Python programming
language.
2. Variables
Variables are used to store data, they take
memory space based on the type of value we
assigning to them. you just have write the
variable name on the lef side of = and thevalue
on the right side.
num = 100
3. The name of the variable must always start with either
a letter or an underscore (_). For example: _abc, xyz.
The name of the variable cannot start with a number.
For example: 4d
The name of the variable cannot have special
characters such as %, $, # etc, they can only have
alphanumeric characters and underscore (A to Z, a to
z, 0-9 or _ ).
Variable name is case sensitive in Python which means
num and NUM are two diferent variables in python.
Some Rules of variables:
4. Data Types
A data type defnes the type of data.
1.Immutable data types – Values cannot be
changed.
2. Mutable data types – Values can be changed