<filename>sum_of_the_two_lowest_positive_integers/sum_of_lowest_positive_integers.py
"""
Create a function that returns the sum of the two lowest positive numbers given an 
array of minimum 4 positive integers. No floats or non-positive integers will be passed.

For example, when an array is passed like [19, 5, 42, 2, 77], the output should be 7.

[10, 343445353, 3453445, 3453545353453] should return 3453455.
"""


def sum_two_smallest_numbers(numbers):
    two_smallest_numbers = []
    for _ in range(2):
        if numbers:
            two_smallest_numbers.append(min(numbers))
            numbers.remove(min(numbers))
    return sum(two_smallest_numbers)

<filename>sum_of_the_two_lowest_positive_integers/sum_of_lowest_positive_integers.py
"""
Create a function that returns the sum of the two lowest positive numbers given an 
array of minimum 4 positive integers. No floats or non-positive integers will be passed.

For example, when an array is passed like [19, 5, 42, 2, 77], the output should be 7.

[10, 343445353, 3453445, 3453545353453] should return 3453455.
"""


def sum_two_smallest_numbers(numbers):
    two_smallest_numbers = []
    for _ in range(2):
        if numbers:
            two_smallest_numbers.append(min(numbers))
            numbers.remove(min(numbers))
    return sum(two_smallest_numbers)

Create a function that returns the sum of the two lowest positive numbers given an  array of minimum 4 positive integers. No floats or non-positive integers will be passed.  For example, when an array is passed like [19, 5, 42, 2, 77], the output should be 7.  [10, 343445353, 3453445, 3453545353453] should return 3453455.