Variable In Python .

In this session i have discussed the variable in Python .


Variable is a temprary place holder in memory that can hold the value .

Variable is a named location in memory that can hold the value .


Variable Syntax :

 
    
     Variable-Name =Value

    

Variable Declaration :

    
    x=10;   // value assinged in x variable 
    ----------------------------------------------------------
    
    

    i , j=10,20  // Multiple variable declaration and assign their values
    
    ---------------------------------------------------------------------------
    

Variable is also an identifier so all the rules of identifier apply on variable.


Welcome to AndroidATPoint.

back image                     next image