Language:EN
Pages: 2
Rating : ⭐⭐⭐⭐⭐
Price: $10.99
Page 1 Preview
and comment your own code

And comment your own code

Lab 6 – Classes/Objects

SUBMIT original code in Python to solve the problem below.

get_employee_number()
oReturns the employee number
set_employee_number(x)
oChanges the employee number
get_office_number()
oReturns the office number
set_office_number(x)
oIf the office number given is less than 100 or greater than 500 return False, otherwise return True
get_name()
oReturns the employee’s name
set_name(x)
oChanges the employee’s name

get_birthdate(m, d, y)
oSets the employee's birthdate
oAccepts three arguments: Month, Day, Year

§ Include the comment heading at the top of your code.

o# Program Name: Lab1.py (use the name the program is saved as)
o# Course: IT1114/Section XXX
o# Student Name: John Doe
o# Assignment Number: Lab#
o# Due Date: xx/xx/ 20XX
o# Purpose: What does the program do (in a few
sentences)?

You are viewing 1/3rd of the document.Purchase the document to get full access instantly

Immediately available after payment
Both online and downloadable
No strings attached
How It Works
Login account
Login Your Account
Place in cart
Add to Cart
send in the money
Make payment
Document download
Download File
img

Uploaded by : Joann Garcia

PageId: DOCC736D0D