Skip to content

Commit

Permalink
feat: sum
Browse files Browse the repository at this point in the history
  • Loading branch information
Matilde434 committed Oct 30, 2023
1 parent 8e60c96 commit d649d2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sum.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
def sum(a: int, b: int) -> int:
return a + b

a= int(input ("Enter the first number: "))
b= int(input ("Enter the second number: "))
c= int(input ("Enter the first number: "))
d= int(input ("Enter the second number: "))

result= sum(a,b)
result= sum(c,d)
print (f"The sum is {result} ")

0 comments on commit d649d2b

Please sign in to comment.