3 Comments
User's avatar
Navya's avatar

a=int(input())

b=int(input())

print(f"the sum of two numers is {a+b}")

Expand full comment
Sidharth's avatar

first_num = int(input("enter first num"))

second_num = int(input("enter second num"))

sum = first_num + second_num

print(f"the sum of two numbers is {sum}")

Expand full comment
VINOD VIJAYAN's avatar

I have done mine.

def sum_two_numbers():

first_number = int(input("Enter the first number: "))

second_number = int(input("Enter the second number: "))

result = first_number + second_number

print(f"The sum of two numbers is {result}.")

sum_two_numbers()

Expand full comment