def two_sum_answer_py() -> str:
    """
    Fixture which returns the twoSum solution for python
    """

    return """
def two_sum(nums: list, target_sum: int) -> list:

    # if there are not at least two numbers
    if len(nums) < 2:
        return []

    seen_sums = set()

    for elem in nums:
        if target_sum - elem in seen_sums:
            return [elem, target_sum - elem]
        seen_sums.add(elem)
    return []
    """