Skip to content

Instantly share code, notes, and snippets.

@akasula09
Last active April 13, 2023 00:35
Show Gist options
  • Save akasula09/e61f193e43150c5d582b5077ea1dcd7e to your computer and use it in GitHub Desktop.
Save akasula09/e61f193e43150c5d582b5077ea1dcd7e to your computer and use it in GitHub Desktop.
only works in python no libraries
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)
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)
@akasula09
Copy link
Author

hope its helpful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment