Variable in python

                                                                 Variable in Python 

 Variable:

                A space in a computer's memory location is known as a Variable.

A variable has a name, an address, location, and storage space.

                                                                                                                                                      

00101110

10001110

01110100

11110000

10101010


   x2 (name),      0123gt1545(address)

                                    

      

           




A variable takes some memory cell(s). One cell can store 1-bit data. Combine 8 bits to make 1 byte.

In the above example,m each set of  01s  is one byte. 

 



Comments

Popular posts from this blog

Programming in Python

Programming lists in Python

Python Operator

Python Operator

Bit wise operators