Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- '''
- This program is a phonebook that works trhe following way:
- Display to the user a menu with three options:
- 1) Add a new entry
- 2) View entries
- 3) Logoff
- When the user adds a new entry we will ask him for:
- * name
- * phone
- * occupation
- We will then confirm that:
- * the number is 10 digits or more
- * confirm there is a comma
- We will then replace the "-" with a ".".
- Then we add a multiline string (with format) to our phonebook list.
- '''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement