static properties python code example
Example: creating a static property in python
class Example:
staticVariable = 5
print(Example.staticVariable) # Prints '5'
instance = Example()
print(instance.staticVariable) # Prints '5'
instance.staticVaraible = 6
print(instance.staticVariabel) # Prints '6'
print(Example.staticVariable) # Prints '5'
Example.staticVariable = 7
print(Example.staticVariable) # Prints '7'