Last active
April 13, 2023 00:35
-
-
Save akasula09/e61f193e43150c5d582b5077ea1dcd7e to your computer and use it in GitHub Desktop.
only works in python no libraries
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
num1 = input("enter the first number of the subtraction equation") | |
num1 = int(num1) | |
num2 = input ("enter the second number of the subtraction equation") | |
num2 = int(num2) | |
print(num1 + num2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
num1 = input("enter the first number of the addition equation") | |
num1 = int(num1) | |
num2 = input ("enter the second number of the addition equation") | |
num2 = int(num2) | |
print(num1 - num2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hope its helpful