Dremendo Tag Line

Print sum of 2 integer numbers in Python

print() - Question 6

In this question, we will see how to print the sum of 2 integer numbers in python programming using the print() function. To know more about print() function click on the print() function lesson.

Q6) Write a program in python to print the sum of 2 integer numbers like a=7, b=13.

Program

a=7; b=13
print('Sum={}'.format(a+b))

Output

Sum=20
video-poster