Course Content
Binary Search in Python
Binary Search in Python
Binary Search 2/2
It is time to test your first Binary search algorithm!
Use hints if needed! Scroll down to see the full code! Be careful with the tabulation!
Task
- Test the function with the
x
variable. - Print the result for the 1st test.
- Test the function with the
x_2
variable. - Print the result for the 2nd test.
Task
- Test the function with the
x
variable. - Print the result for the 1st test.
- Test the function with the
x_2
variable. - Print the result for the 2nd test.
Everything was clear?
Binary Search 2/2
It is time to test your first Binary search algorithm!
Use hints if needed! Scroll down to see the full code! Be careful with the tabulation!
Task
- Test the function with the
x
variable. - Print the result for the 1st test.
- Test the function with the
x_2
variable. - Print the result for the 2nd test.
Task
- Test the function with the
x
variable. - Print the result for the 1st test.
- Test the function with the
x_2
variable. - Print the result for the 2nd test.
Everything was clear?
Binary Search 2/2
It is time to test your first Binary search algorithm!
Use hints if needed! Scroll down to see the full code! Be careful with the tabulation!
Task
- Test the function with the
x
variable. - Print the result for the 1st test.
- Test the function with the
x_2
variable. - Print the result for the 2nd test.
Task
- Test the function with the
x
variable. - Print the result for the 1st test.
- Test the function with the
x_2
variable. - Print the result for the 2nd test.
Everything was clear?
It is time to test your first Binary search algorithm!
Use hints if needed! Scroll down to see the full code! Be careful with the tabulation!
Task
- Test the function with the
x
variable. - Print the result for the 1st test.
- Test the function with the
x_2
variable. - Print the result for the 2nd test.