Skip to content

Commit e2c71e4

Browse files
Greater number
Simple way to prgram to find greatest of two numbers in python
1 parent 229f8d6 commit e2c71e4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Greater number

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
a,b = input('Enter two numbers: ').split(' ')
2+
a = int(a); b = int(b)
3+
print(max(a,b))

0 commit comments

Comments
 (0)