def calculate_sum(a, b):\n    # initialize result to 0\n    result = 0\n    \n    # add two input numbers\n    result = a + b\n    \n    # return result\n    return result
Write an algorithm to calculate the sum of two given integers.?