Solving the Two-Sum Problem in Python: A Step-by-Step Guide.