Skip to content

Commit

Permalink
feat: add calculator
Browse files Browse the repository at this point in the history
  • Loading branch information
Henryskio committed Oct 30, 2023
1 parent c446327 commit bd2ea55
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/calculator.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
a=int(input("Input first number: "))
b=int(input("Input second number: "))
print("Sum: "+str(a+b))
print("Difference:"+str(a-b))
print("Product: "+str(a*b))
print("Division: "+str(a/b))

0 comments on commit bd2ea55

Please sign in to comment.