This project defines an Employee class that uses Python properties to manage employee data safely. The class automatically assigns salary based on the employee’s level and uses setters to validate updates to name, level, and salary while enforcing strict rules using exceptions.
python dictionaries data-mapping oop type-checking setters getters encapsulation input-validation exception-handling object-oriented-programming oops-in-python conditional-logic property-decorators python-classes-and-objects attribute-management
-
Updated
Jun 27, 2026 - Python