Skip to content

Commit

Permalink
Create add3numbers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DibyajyotiBiswal57 committed Dec 31, 2024
1 parent c0bc362 commit 33b765f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions add3numbers.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
num1 = float(input("Enter the first number: "))
num2 = float(input("Enter the second number: "))
num3 = float(input("Enter the third number: "))
sum = num1 + num2 + num3
print("The sum of", num1, ",", num2, "and", num3, "is:", sum)

0 comments on commit 33b765f

Please sign in to comment.