Skip to content

Commit 15e659e

Browse files
Merge pull request #139 from Janhvisingh21/master
Sumof2no.py
2 parents 74b853b + b4dc61a commit 15e659e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: SimpleAddition/Sumof2no.py

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#python program to add two numbers
2+
x = input("Enter a number: ")
3+
y = input("Enter another number: ")
4+
5+
sum = int(x) + int(y)
6+
7+
print("The sum is: ", sum)

0 commit comments

Comments
 (0)