I am trying to use the set method in python class to validate a value before it is assigned to an attribute in my main program. My code is below. For example, I want to use