on-internet
← Community

Employee Classes - Python

Stack Overflow ·

Write a class named Employee that holds the following data about an employee in attributes: name, ID number, department, and job title. Once you have written the class, write a program that creates three Employee objects to hold the following data: Susan Meyers - 47899 - Accounting - Vice President Mark Jones - 39119 - IT - Programmer Joy Rogers - 81774 - Manufacturing - Engineer ^ This is the problem I'm stuck on. I believe I have the first part of the code correct, but I don't understand what to do for the second part of the program to create Employee objects. Here is my code so far... emp.p

Comments

Sign in or sign up to comment and upvote.

No comments yet.