Skip to content

Commit fa41e52

Browse files
authored
Greater number
Checks two numbers and prints the greater one. Added via uploat
1 parent c302fba commit fa41e52

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

greater number/greater.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
x=input("Input a number: ")
2+
y=input("Input another number ")
3+
if(x<y):
4+
x,y=y,x
5+
print(x,"is greater than",y)

0 commit comments

Comments
 (0)