Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to print sum of two numbers in python

num1 = int(input()) # taking Input from user
num2 = int(input()) # taking Input from user
# printing sum of two numbers that are given from user
print(num1 + num2)
 
PREVIOUS NEXT
Tagged: #print #sum #numbers #python
ADD COMMENT
Topic
Name
4+7 =