Skip to content

Instantly share code, notes, and snippets.

@Polaris000
Created January 26, 2021 09:42
@property
def score(self):
print("Getting score...")
return self.__score
@score.setter
def score(self, new_val):
print("Setting new value...")
self.__score = new_val
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment