We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f92c4f commit 7347d4cCopy full SHA for 7347d4c
add 2 number
@@ -1,8 +1,3 @@
1
-num1 = 15
2
-num2 = 12
3
-
4
-# Adding two nos
5
-sum = num1 + num2
6
7
-# printing values
8
-print("Sum of {0} and {1} is {2}" .format(num1, num2, sum))
+num1=int(input("Enter the First Number : "))
+num2=int(input("Enter the Second Number : "))
+print("Sum :"num1 + nums2)
0 commit comments