top of page
Search

Solve Me First Solution (PYTHON LANGUAGE)

Complete the function solveMeFirst to compute the sum of the two integers. Function prototype: int solveMeFirst(int a, int b); where, a is the first integer input, b is the second integer input. Return Values sum of the above two integers. Sample Input a = 2 b = 3 Sample Output 5 Explanation The sum of the two integers and is computed as:. Solution Down Below Here:

def solveMeFirst(a,b):
    return a+b
num1 = int(input())
num2 = int(input())
res = solveMeFirst(num1,num2)
print(res)

Comments


Post: Blog2_Post
bottom of page