Skip to content

Commit eb01d0f

Browse files
Merge pull request #91 from sknitk/patch-1
Create max2.py
2 parents 0dee783 + bddea45 commit eb01d0f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Code/max2.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#Program to find maximum of 2 numbers
2+
while 1:
3+
n,m=map(int, raw_input())
4+
k = max(m,n)
5+
print k
6+
print "Do you want to continue(yes/no): "
7+
s=raw_input()
8+
if s=="no":
9+
break

0 commit comments

Comments
 (0)