We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad04c4e commit 523b0abCopy full SHA for 523b0ab
Day1-Python-Intro/Workshop1Add2InputsNumbers.py
@@ -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