Twine

Contactbook Python Project

Anuj Upadhyay
Published

0
  • Project creator

This Python project is a simple CLI-based Contact Book that allows users to add, delete, and view contact information with input validation and a user-friendly menu.

The Contact Book project is a command-line interface (CLI) application developed in Python to manage personal contact information. It provides users with a simple menu to perform essential contact operations such as adding a new contact, deleting an existing one, and viewing stored contact details. The program uses a dictionary (contacts) to store contact names as keys and their numbers as values. It includes input validation to ensure contact numbers are numeric and up to 10 digits long. The system checks for duplicates before adding a contact and provides appropriate feedback for each action. The user interacts with the application via a looped menu, allowing for continuous operation until they choose to exit. This project is a great example of implementing user input handling, data storage using dictionaries, and basic error checking, making it suitable for portfolio use to showcase fundamental programming skills.