Skip to content

Commit 703f1e6

Browse files
authored
Create Add 2 no python
1 parent 229f8d6 commit 703f1e6

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Add 2 no python

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Python3 program to add two numbers
2+
3+
4+
5+
num1 = 15
6+
7+
num2 = 12
8+
9+
10+
11+
# Adding two nos
12+
13+
sum = num1 + num2
14+
15+
16+
17+
# printing values
18+
19+
print("Sum of {0} and {1} is {2}" .format(num1, num2, sum))
20+

0 commit comments

Comments
 (0)