Packaging TeX Live For MSYS2

Sum of two numbers

Code for Sum of two numbers in python

sum of two numbers

#sum of two numbers
n1=int(input('Enter first number to add:'))
n2=int(input('Enter second number to add:'))
sum1=n1+n2
print("The total value is ",sum1)

Here the code above will just add the two numbers entered. As easy as that.

Comments