Python Quiz 1 - Sum of Two Numbers in Python
Python Quiz 1 - --
"Sum of Two Numbers in Python"
This program iss about how we can add two numbers in python OR using python as a calculator.
CODE
#Quiz 1 - Sum of two numbers
print("Enter Number 1")
inpnum1 = input()
print("Enter Number 2")
inpnum2 = input()
print("Sum of these numbers = ", int(inpnum1) + int(inpnum2))
Comments
Post a Comment