Update sum_2_numbers_with_bs.py

This commit is contained in:
bt3gl 2023-07-30 15:53:08 -07:00 committed by GitHub
parent 092700f566
commit 24b38f0d5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,10 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# author: bt3gl
# given a collection of numbers, find the pair
# of numbers that sum to a given number
def bs(array, desired_num):
start = 0