+1(316)4441378

+44-141-628-6690

Python MySQL Assignment

CS223 Programming Homework #3

Note: As is true of all programming assignments, you must control the user experience. That means you have to prompt the user with useful prompts, check input to make sure its what you want (and will work).

You should follow the python style guide (https://www.python.org/dev/peps/pep-0008/ (Links to an external site.)) for the most part (not where tabs are concerned). You must have comments that describe what youre doing clearly, and all indentation must be correct and clear (this is the main place that I dramatically disagree with the Python style guide, I believe that you should always use tabs). You should never duplicate code, instead put functionality in functions for clarity, simplicity and ease of debugging.

The intent of this program is to manage a set of contacts. Each contact will have data associated with it:

Id number/integer
First Name string
Last Name string
Age number/integer
Phone Number string
Email string
Gender character (m/f/o)
Anything else youd like to add to make yours unique (can result in extra credit)
You must allow the customer to do the following actions on the contact list:

List all contacts
Add contact
Delete contact
Edit contact
Exit program
You have the code (both yours and mine) from the last homework that you can modify to make it work for this assignment. Please note that in the next HW assignment well hook the code up to a DB to save everything to the DB and read from it. Getting a head start on that is a good idea.

You should use classes for this assignment. This means you should have two classes:

Contact all the attributes/properties described above with appropriate constructor. Methods:
Add (constructor – __init__(p_id, p_fname, p_lname, p_age, p_phone, p_email, p_gender)
Edit
Contact List (contact_list) built on Python list (or creating one within the constructor), you should have methods:
Add add a new contact to the list
Edit edit a contact within the list
Delete delete a contact from the list

 

You can place an order similar to this with us. You are assured of an authentic custom paper delivered within the given deadline besides our 24/7 customer support all through.

 

Latest completed orders:

# topic title discipline academic level pages delivered
6
Writer's choice
Business
University
2
1 hour 32 min
7
Wise Approach to
Philosophy
College
2
2 hours 19 min
8
1980's and 1990
History
College
3
2 hours 20 min
9
pick the best topic
Finance
School
2
2 hours 27 min
10
finance for leisure
Finance
University
12
2 hours 36 min
[order_calculator]