Programming Pandit

c/c++/c#/Javav/Python


Latest Update

Tuesday, September 15, 2020

Python Program to print the Addition and Substration by G Krishna Chauhan

 Source Code 

#Program for addition and Substraction.

num1=int(input("Enter 1st Number"))

num2=int(input("Enter 2nd Number"))

s1=num1+num2

s2=num1-num2

print("The sum. of 2 no. are",s1)

print("The sub. of 2 no. are",s2)





No comments:

Post a Comment