2015-05-21 17:09:36 -04:00
2015-05-21 17:09:36 -04:00
2015-05-21 17:09:36 -04:00

Phase 1 Assessment

Scalpers! You have from 10am - 3:30pm(ish) to work on this. You should be able to complete these challenges in that time.

Challenge 1: Contacts

Create a simple terminal app that allows one user to manage their contacts / personal phonebook. Think about how the contacts app in your smartphone works.

The user can create a contact. A contact must have a name, and can have many email addresses and many phone numbers.

The user can view all their contacts, in alphabetical order by name.

The user can edit the contact's name, and edit or delete email addresses and phone numbers.

Note - there is no user administration in this app. They do not need to log in to manage contacts. Assume just one person runs one copy of your application.

Keep all your files in the 1-contacts folder and don't forget to keep the Zen of Python in mind. If you forget what it is, go to your Python interpretor and import this.

Challenge 2: Separate Numbers with Commas

Write a method separate_comma which takes an integer as its input and returns a comma-separated integer as a string. Like this:

separate_comma(1000)    # => "1,000"
separate_comma(1000000) # => "1,000,000"
separate_comma(0)       # => "0"
separate_comma(100)     # => "100"

DO NOT use regular expressions and make sure the tests pass! It's all about the logic!

Description
No description provided
Readme 27 KiB
Languages
Python 100%