0% found this document useful (0 votes)
8 views

Python Variable

Python variables can be static, local, or instance variables; static variables belong to the class and are shared, local variables are defined inside functions and deleted after the function ends, and instance variables are part of an object and can be accessed through object instances.

Uploaded by

d2op
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Python Variable

Python variables can be static, local, or instance variables; static variables belong to the class and are shared, local variables are defined inside functions and deleted after the function ends, and instance variables are part of an object and can be accessed through object instances.

Uploaded by

d2op
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Python variable

 Three type of variable


 Static variable
 Local variable
 Instance variable

You might also like