Dự án sổ liên lạc trong python

Chương trình sổ liên lạc Python này lưu đầu vào của người dùng dưới dạng mô tả sổ liên lạc và truy xuất nó dưới dạng kết quả tìm kiếm. Đây là một chương trình cơ bản cho thấy logic đơn giản hoạt động như thế nào bằng cách sử dụng mảng, vòng lặp và câu lệnh điều kiện

Thí dụ

Một ví dụ về Sổ liên lạc trong Python

names = []
contact_numbers = []
num = int[input["Enter the total number of contacts you want to save: "]]
for i in range[num]:
    name = input["Name: "]
    contact_number = int[input["Contact Number: "]] 
    names.append[name]
    contact_numbers.append[contact_number]
print["\nName\t\t\tContact Number\n"]
for i in range[num]:
    print["{}\t\t\t{}".format[names[i], contact_numbers[i]]]
search_term = input["\nEnter search term: "]
print["Search result:"]
if search_term in names:
    index = names.index[search_term]
    contact_number = contact_numbers[index]
    print["Name: {}, Phone Number: {}".format[search_term, contact_number]]
else:
    print["No records"]

Đầu ra chương trình

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
báo cáo quảng cáo này

Nhiệm vụ của chúng tôi là triển khai một thư mục điện thoại thông minh thu thập dữ liệu liên hệ từ người dùng cho đến khi người dùng nhắc chương trình. Dữ liệu liên hệ đề cập đến tên, số điện thoại, ngày sinh của liên hệ, danh mục mà liên hệ thuộc về [Bạn bè, Gia đình, Công việc, Khác], địa chỉ email. Người dùng có thể nhập càng nhiều dữ liệu càng tốt vào các nhãn dữ liệu được đề cập. Nếu một số nhãn không có dữ liệu, hãy lưu trữ dưới dạng Không có. Tên và số là bắt buộc để tạo liên hệ. Thực hiện các thao tác sau trên thư mục. Chèn, Xóa, Tìm kiếm, Hiển thị

Cách tiếp cận.
Chúng tôi đã sử dụng khái niệm danh sách 2D và triển khai tương tự trong Python3. Có tổng cộng 8 chức năng được sử dụng trong mã này, cụ thể là.
 

  • ban đầu_phonebook[]. Chức năng đầu tiên chạy, nó khởi tạo danh bạ
  • thực đơn[]. Nó hiển thị các lựa chọn có sẵn cho người dùng và trả về lựa chọn đã nhập
  • add_contact[]. Nó thêm một số liên lạc mới vào thư mục Danh bạ
  • loại bỏ_hiện có []. Nó xóa một liên hệ hiện có khỏi thư mục Danh bạ
  • xóa hết[]. Nó xóa tất cả các số liên lạc khỏi thư mục Danh bạ
  • display_all[]. Nó hiển thị tất cả các số liên lạc từ thư mục Danh bạ
  • tìm_kiếm_hiện có[]. Nó sẽ tìm kiếm và hiển thị một liên hệ hiện có trong thư mục Danh bạ
  • cảm ơn[]

Giữ trải nghiệm người dùng và giao diện người dùng, chúng tôi đã làm cho mã đơn giản, dễ đọc và tương tác. Bạn có thể hoặc không thể sử dụng tất cả các tính năng chính xác như được mô tả bên dưới. Vui lòng xem qua giải pháp mã.
 

Vui lòng thử chạy mã này trên Python IDLE của bạn vì một số lỗi có thể xảy ra nếu bạn chạy ở đây vì yêu cầu đầu vào của người dùng. Bạn cũng có thể mở trang IDE tại GFG và chạy mã của mình ở đó thay vì chạy trực tiếp từ đoạn mã

 

trăn3




# importing the module

import sys

 

# this function will be the first to run as soon as the main function executes

def initial_phonebook[]:

    ______9

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
1import0import1import0import3import4import5

________số 8

    import8

    sys0

    ____42____10 sys4

    ____46sys7

    sys9 # this function will be the first to run as soon as the main function executes0# this function will be the first to run as soon as the main function executes1 # this function will be the first to run as soon as the main function executes2# this function will be the first to run as soon as the main function executes3

# this function will be the first to run as soon as the main function executes4sys6import0# this function will be the first to run as soon as the main function executes7 # this function will be the first to run as soon as the main function executes8 # this function will be the first to run as soon as the main function executes9def0def1def2

# this function will be the first to run as soon as the main function executes4sys6import0def6def7

# this function will be the first to run as soon as the main function executes4____46import0initial_phonebook[]:1def7

________ 54 ________ 74 ________ 10 ________ 44

# this function will be the first to run as soon as the main function executes4sys9 initial_phonebook[]:9# this function will be the first to run as soon as the main function executes1 # this function will be the first to run as soon as the main function executes2    2

    3

# this function will be the first to run as soon as the main function executes4    5

# this function will be the first to run as soon as the main function executes4    7

    8    9 initial_phonebook[]:9

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 rows, cols3rows, cols4

rows, cols5rows, cols6______97import0import1import0

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
01
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
02

rows, cols5

rows, cols5

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
05

rows, cols5

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
07

rows, cols5

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
09

rows, cols5    9

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
12
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
15
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
16
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
17

    3

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
19

import00import01def7

    3import04

    3

    8    9 initial_phonebook[]:9

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 def1rows, cols4

rows, cols5rows, cols6____11import0import1import0import19

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
02

rows, cols5import22

rows, cols5import24

rows, cols5import26

rows, cols5

    8    9 initial_phonebook[]:9

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 import33rows, cols4

rows, cols5rows, cols6______97import0import1import0import41

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
02

rows, cols5import44

rows, cols5    9

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
12
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
15
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
16
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
17

________ 83 ________ 112 ________ 10 ________ 356

    3

    8    9 initial_phonebook[]:9

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 import63rows, cols4

rows, cols5rows, cols6______97import0import1import0import71

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
02

rows, cols5import74

rows, cols5import76

rows, cols5import78

rows, cols5    9

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
12
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
15
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
16
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
17

import87

rows, cols5import44

________ 83 ________ 112 ________ 10 ________ 356

    8    9 initial_phonebook[]:9

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 import99rows, cols4

rows, cols5rows, cols6

    3rows, cols7import0import1import0sys08

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
02

rows, cols5import44

rows, cols5    9

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
12
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 sys17sys18
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
12
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 sys22rows, cols4

________ 83 ________ 112 ________ 10 ________ 356

    3

_______54____430

_______54____432

_______54____434

________số 8

    ____46sys7

    ____440 sys2

 

def sys43

    ____445

    ____447

    ____449

    ____46import0____453def7

_______8______46import0____458____459

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0sys61def7

    ____46import0____453def7

    ______46import0____471def7

    ______46import0____476def7

    ______46import0____481def7

    ______46import0____486def7

    ______46import0____491def7

    ____46import0____496def7

    ______46import0____501def7

 

    # this function will be the first to run as soon as the main function executes04

    # this function will be the first to run as soon as the main function executes06

    ______508

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
1import0import1import0# this function will be the first to run as soon as the main function executes14def2

________số 8

    ____440 # this function will be the first to run as soon as the main function executes08

 

def # this function will be the first to run as soon as the main function executes21

    # this function will be the first to run as soon as the main function executes23

    # this function will be the first to run as soon as the main function executes25

    # this function will be the first to run as soon as the main function executes27

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 sys4

    _______49 # this function will be the first to run as soon as the main function executes0____51 # this function will be the first to run as soon as the main function executes2____30# this function will be the first to run as soon as the main function executes36# this function will be the first to run as soon as the main function executes37rows, cols3# this function will be the first to run as soon as the main function executes39

# this function will be the first to run as soon as the main function executes4    9 # this function will be the first to run as soon as the main function executes0_______10

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 rows, cols3rows, cols4

    8# this function will be the first to run as soon as the main function executes48rows, cols7import0import1import0# this function will be the first to run as soon as the main function executes53

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
02

# this function will be the first to run as soon as the main function executes4    9 # this function will be the first to run as soon as the main function executes0_______10

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 def1rows, cols4

    8# this function will be the first to run as soon as the main function executes48

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
1import0import1import0# this function will be the first to run as soon as the main function executes68
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
02

# this function will be the first to run as soon as the main function executes4    9 # this function will be the first to run as soon as the main function executes0

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 import33rows, cols4

    8# this function will be the first to run as soon as the main function executes48rows, cols7import0import1import0import41

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
02

# this function will be the first to run as soon as the main function executes4    9 # this function will be the first to run as soon as the main function executes0

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 import63rows, cols4

    8# this function will be the first to run as soon as the main function executes48rows, cols7import0______31import0import71

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
02

# this function will be the first to run as soon as the main function executes4    9 # this function will be the first to run as soon as the main function executes0_______10

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 import99rows, cols4

    8# this function will be the first to run as soon as the main function executes48

rows, cols5rows, cols7import0import1import0sys08

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
02

    def17

    def19

    sys40 def22

 

def def24

___8def26

    _______628

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 rows, cols7import0

# this function will be the first to run as soon as the main function executes4import1____30def35def2

    def38

________số 8

    ______74

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 rows, cols3

    def45

________số 8

    sys9 # this function will be the first to run as soon as the main function executes0# this function will be the first to run as soon as the main function executes1 # this function will be the first to run as soon as the main function executes2import0# this function will be the first to run as soon as the main function executes36def54

# this function will be the first to run as soon as the main function executes4    9 def28

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 def60rows, cols3def62

    8initial_phonebook[]:4____60

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 def1

    8def69

    8

    8sys6def73

    8def75

    8

    8sys6import0def80def7

    8def83

    8def85

    8def87

    8def89

    8

    8sys40 def22

        9 initial_phonebook[]:4

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 rows, cols3rows, cols4

# this function will be the first to run as soon as the main function executes4initial_phonebook[]:02

# this function will be the first to run as soon as the main function executes4initial_phonebook[]:04

# this function will be the first to run as soon as the main function executes4____46initial_phonebook[]:07

    ______709initial_phonebook[]:10 initial_phonebook[]:11 initial_phonebook[]:12

# this function will be the first to run as soon as the main function executes4

# this function will be the first to run as soon as the main function executes4____440 def22

 

def initial_phonebook[]:18

    initial_phonebook[]:20

___8initial_phonebook[]:22

    sys40 initial_phonebook[]:25

 

def initial_phonebook[]:27

    initial_phonebook[]:29

    _______508

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
1____30import1initial_phonebook[]:36

    _______738 initial_phonebook[]:39initial_phonebook[]:40initial_phonebook[]:41initial_phonebook[]:42initial_phonebook[]:43initial_phonebook[]:44initial_phonebook[]:43initial_phonebook[]:46initial_phonebook[]:43initial_phonebook[]:48

    initial_phonebook[]:50

    ____752

________số 8

    ______74

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 sys4

    _______759

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 initial_phonebook[]:40def1

________số 8

        9 # this function will be the first to run as soon as the main function executes08

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 def1rows, cols4

    initial_phonebook[]:72

# this function will be the first to run as soon as the main function executes4def28

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 rows, cols7import0

    8import1import0initial_phonebook[]:81def2

# this function will be the first to run as soon as the main function executes4sys9 # this function will be the first to run as soon as the main function executes0# this function will be the first to run as soon as the main function executes1 # this function will be the first to run as soon as the main function executes2import0# this function will be the first to run as soon as the main function executes36def54

    8    9 def28

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 def60rows, cols3def62

rows, cols5initial_phonebook[]:59____10 # this function will be the first to run as soon as the main function executes0

rows, cols5    04

rows, cols5

        07 # this function will be the first to run as soon as the main function executes08

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 import33rows, cols4

        14

# this function will be the first to run as soon as the main function executes4def28

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
1import0

    8import1import0    23def2

# this function will be the first to run as soon as the main function executes4sys9 # this function will be the first to run as soon as the main function executes0# this function will be the first to run as soon as the main function executes1 # this function will be the first to run as soon as the main function executes2import0# this function will be the first to run as soon as the main function executes36def54

    8    9 def28

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 def60def1def62

rows, cols5initial_phonebook[]:59____10 # this function will be the first to run as soon as the main function executes0

rows, cols5    04

rows, cols5

        07 # this function will be the first to run as soon as the main function executes08

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 import63rows, cols4

        56

# this function will be the first to run as soon as the main function executes4def28

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 rows, cols7import0import1    63______740    65    66    67

# this function will be the first to run as soon as the main function executes4    69

# this function will be the first to run as soon as the main function executes4sys9 # this function will be the first to run as soon as the main function executes0# this function will be the first to run as soon as the main function executes1 # this function will be the first to run as soon as the main function executes2import0# this function will be the first to run as soon as the main function executes36def54

    8    9 def28

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 def60import33def62

rows, cols5initial_phonebook[]:59____10 # this function will be the first to run as soon as the main function executes0

rows, cols5    04

rows, cols5

        07 # this function will be the first to run as soon as the main function executes08

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 import99rows, cols4

    rows, cols01

# this function will be the first to run as soon as the main function executes4def28

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 rows, cols7import0import1rows, cols08# this function will be the first to run as soon as the main function executes1 rows, cols10initial_phonebook[]:43rows, cols12initial_phonebook[]:43rows, cols14rows, cols15 rows, cols16

    8    69

# this function will be the first to run as soon as the main function executes4sys9 # this function will be the first to run as soon as the main function executes0# this function will be the first to run as soon as the main function executes1 # this function will be the first to run as soon as the main function executes2import0# this function will be the first to run as soon as the main function executes36def54

    8    9 def28

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 def60import63def62

rows, cols5initial_phonebook[]:59____10 # this function will be the first to run as soon as the main function executes0

rows, cols5    04

rows, cols5

        07 # this function will be the first to run as soon as the main function executes08

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 import5rows, cols4

    rows, cols50

# this function will be the first to run as soon as the main function executes4def28

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 rows, cols7import0

_______88import1____30____959def2

# this function will be the first to run as soon as the main function executes4sys9 # this function will be the first to run as soon as the main function executes0# this function will be the first to run as soon as the main function executes1 # this function will be the first to run as soon as the main function executes2import0# this function will be the first to run as soon as the main function executes36def54

    8    9 def28

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 def60import99def62

rows, cols5initial_phonebook[]:59____10 # this function will be the first to run as soon as the main function executes0

rows, cols5    04

_______54____984

# this function will be the first to run as soon as the main function executes4

    ____987rows, cols4

    rows, cols90

_______54____46____30____994def7

# this function will be the first to run as soon as the main function executes4sys40 initial_phonebook[]:40def1

    

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
001

________số 8

___8

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
004

___8

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
006

________số 8

        9 initial_phonebook[]:59

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 initial_phonebook[]:40def1rows, cols4

# this function will be the first to run as soon as the main function executes4sys40 initial_phonebook[]:40def1

# this function will be the first to run as soon as the main function executes4

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
021

    ____987rows, cols4

_______54____1026

# this function will be the first to run as soon as the main function executes4____440 initial_phonebook[]:59

# this function will be the first to run as soon as the main function executes4

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
031

# this function will be the first to run as soon as the main function executes4

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
033

 

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
034

def

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
036

        9

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
039
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
040

___8

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
042

    ____1044

_______54____46____30____1048def7

    ____987rows, cols4

# this function will be the first to run as soon as the main function executes4sys9 # this function will be the first to run as soon as the main function executes0# this function will be the first to run as soon as the main function executes1 # this function will be the first to run as soon as the main function executes2import0# this function will be the first to run as soon as the main function executes36def54

________ 88 ________ 46 ________ 1063

 

def

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
065

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
066

    ____46import0____453def7

    ______46import0

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
075def7

    ______46import0

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
080def7

    ____46import0____453def7

_______8____119____1089def7

 

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
091

sys6import0____71def7

sys6import0____1098def7

sys6import0____1102def7

sys6import0____71def7

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
108

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
109

 

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
110
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0 def1

def22

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
0
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
115

Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
116
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
110# this function will be the first to run as soon as the main function executes1 import0def1
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
121import33
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
121import63
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
121import99
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
121import5
Enter the total number of contacts you want to save: 2
Name: Alex
Contact Number: 123456789
Name: Amara
Contact Number: 984321

Name                    Contact Number

Alex                    123456789
Amara                   987654321

Enter search term: Alex
Search result:
Name: Alex, Phone Number: 123456789
129

Sổ liên lạc trong Python là gì?

Sổ liên lạc hoặc sổ địa chỉ là ứng dụng lưu trữ thông tin [tên, địa chỉ, số liên lạc, v.v. ] trong số những người mà bạn lưu trong đó . Bạn cũng có thể chỉnh sửa và xóa số liên lạc.

Các dự án tốt cho Python là gì?

Ý tưởng dự án Python. Cấp độ mới bắt đầu .
Tạo trình tạo mã. .
Xây dựng một máy tính đếm ngược. .
Viết phương pháp sắp xếp. .
Xây dựng một bài kiểm tra tương tác. .
Tic-Tac-Toe bằng văn bản. .
Tạo bộ chuyển đổi nhiệt độ/đo lường. .
Xây dựng một ứng dụng truy cập. .
Xây dựng trò chơi đoán số

Các dự án nhỏ trong Python là gì?

Trong bài viết này, bạn sẽ tìm hiểu 42 Chủ đề & Ý tưởng Dự án Python thú vị. .
Trình tạo Mad Libs
đoán số
Trò chơi phiêu lưu dựa trên văn bản
Trình mô phỏng lăn xúc xắc
người treo cổ
Sổ liên lạc
Thuật toán tìm kiếm nhị phân
Ứng dụng thông báo máy tính để bàn

Máy cắt email là gì?

Công cụ cắt email là gì? . a tool which will take an email id as an input and will perform slicing operations on it to return the username and the domain of the email id.

Chủ Đề