Skip to content

Commit ba81266

Browse files
authoredFeb 18, 2019
Merge pull request #1 from ProgrammerMe/basic-codes
Simple Operations
2 parents 78c1815 + 1cd01c9 commit ba81266

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

‎Workshop1Add2InputsNumbers.py

Lines changed: 10 additions & 0 deletions
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)
Please sign in to comment.