final variable in python code example
Example: final class variable python
# you can access this using properties(getter, setter) and
# define only the getter
class a:
def __init__(self, name):
self.__name = name
@property
def name(self):
return self.__name