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

Popular posts from this blog

Python Exercise 7 --- "Snake, Water, Gun"

Python Tutorial 29 --- "Enumerate Function"

Python Tutorial 3---"Variables, Datatypes and Typecasting "