Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 2-list-algorithms/08_binary_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def binary_search(input_list, target):
'[email protected]',
'[email protected]'
]

email_list = sorted(email_list)
print(binary_search(email_list, '[email protected]')) # Output: True
print(binary_search(email_list, '[email protected]')) # Output: False

Expand Down