Skip to content

Commit 523b0ab

Browse files
Day1 codes
1 parent ad04c4e commit 523b0ab

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
# Program For Adding 2 user inputs(Numbers)
3+
A = input("Enter a input")
4+
B = input("Enter a input")
5+
6+
# Add two numbers
7+
Add = float(A) + float(B)
8+
9+
# Display the result
10+
print('The sum of {0} and {1} is {2}'.format(A, B, Add))

0 commit comments

Comments
 (0)