Employee creation
Input
create_employee_summary('Jane', 30, 42, 'Engineer')
Output
Jane (30) - Engineer #42
Employee.__init__ should call Person.__init__ for name and age, then store employee_id and role. summary() composes the final string.
Full lesson preview
Practice using super() in a subclass __init__ to reuse parent initialization and add new attributes.
Problem statement
Task
Examples
Input
create_employee_summary('Jane', 30, 42, 'Engineer')
Output
Jane (30) - Engineer #42
Employee.__init__ should call Person.__init__ for name and age, then store employee_id and role. summary() composes the final string.
Input format
Output format
Constraints
Samples
Input
create_employee_summary('Lee', 45, 7, 'Manager')
Output
Lee (45) - Manager #7
The employee summary formatting.