Installing Pycairo In Windows

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

This Blog is protected by DMCA.com

Donate Me

Donate Me
Do something Great