0% found this document useful (0 votes)
19 views4 pages

Variables

Uploaded by

afsanaasgar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views4 pages

Variables

Uploaded by

afsanaasgar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 4

PYTHON

VARIABLES
Python trainer :
Chenna Kesava Rao Ramisetti
variables
• variables are containers to store any type of data.
• In python, variables are dynamically typed.
• Python automatically allocates memory for the variable
in system.

Variable
contains data
Declaration and Initialization
• The process of creating variable is called declaration.
• The process of assigning data to variable is called
initialization.
• In python, declaration and initialization are done at the
same time.

Num = 72
Rules to create variable name
Combination of alphabetics and numbers.

Do not start with numbers.

Do not use any special characters except underscore.

Do not use any key words or reserved words.

Variable names are case sensitive.

You might also like