PYTHON VARIABLES (HOW TO DECLARE )

 VARIABLES IN PYTHON :

WATCH VIDEO FOR  DETAILED EXPLANATION:



  •     What is a Variable in Python?

  A Python variable is a reserved memory location to store values. In other words, a variable in a python program gives data to the computer for processing.

  •        Python Variable Types

   Every value in Python has a datatype. Different data types in Python are Numbers, List, Tuple, Strings, Dictionary, etc. Variables in Python can be declared by any name or even alphabets like a, aa, abc, etc.


  • How to Declare and use a Variable

Let see an example. We will define variable in Python and declare it as "a" and print it.

a=100 
print (a)
 DOWNLOAD HANDWRITTEN NOTES OF VARIABLES AND COMMENTS 


 CLICK ON PICTURE YOU CAN DOWNLOAD AND PRINT NOTES

DOWNLOAD

👇


Comments

Popular posts from this blog

HANDWRITTEN NOTES (COMPUTER NETWORK ) USEFULL IN EXAMS (IMP TOPICS)

OSI MODEL IN COMPUTER NETWORK

SESSION LAYER IN COMPUTER NETWORK