Python | variable declaration

                     python variable declaration



Python | Variable declaration 


python variable declaration techniques are make to the variable more readable.

1) Camel Case

    in which , first word start with capital letter

    Example

        myVariable = "Hello"


2) Pascal Case

    in which, every variable start with capital letter    

    Example

        MyVariable = "Hello"
   
     
3) Snake Case

    in which, every variable separated by underscore character

    Example

        my_var=" Hello"


Post a Comment (0)
Previous Post Next Post