Class sampleclass:
constant = 10
def __init(self,value)
self.value = value *10 + constant
x = sampleclass(2)
print (x.value) #prints the calculated value
print(x.constant) #prints the constant
Question: I do not want 'x' to access 'constant' value, How can i restrict this or is there any other way to declare constant?