Skip to content

Instantly share code, notes, and snippets.

@Polaris000
Last active January 26, 2021 10:01
import logging
class Student:
def __init__():
..
@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