# Example of a basic data management system
contacts = []
def add_contact(name, phone, email):
contact = {'name': name, 'phone': phone, 'email': email}
contacts.append(contact)
def view_contacts():
for contact in contacts:
print(f"Name: {contact['name']}, Phone: {contact['phone']},
Email: {contact['email']}")
# Add contacts
add_contact("Alice", "1234567890", "alice@example.com")
add_contact("Bob", "9876543210", "bob@example.com")
# View contacts
view_contacts()
# Output:
# Name: Alice, Phone: 1234567890, Email: alice@example.com
# Name: Bob, Phone: 9876543210, Email: bob@example.com