Write a class named Employee that holds the following data about an employee in attributes: name, ID
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a class named Employee that holds the following data about an employee in attributes: name, ID number, department, and job title. Don't include a constructor or any other methods. Once you have written the class, write a program that creates three employee objects to hold the following data:
Name, ID number, Department, Job Title
Susan Meyers, 47899, Accounting, Vice president
Marke Jones, 39119, IT, programming
Joy Rogers, 81774, Manufacturing, Engineering
The program should store its data in three employee objects and then print the data for each employee.
*This is programming in Python
Related Book For
Posted Date: