Skip to content

Commit

Permalink
Create greattwono
Browse files Browse the repository at this point in the history
Greatest of Two Numbers in Python | Python Program to Print Greatest of Two Numbers
  • Loading branch information
sohongjaduuniv authored Oct 2, 2020
1 parent 2d34fc1 commit bd94477
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions greattwono
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Python Program to find the largest of two numbers using an arithmetic operator
a = int(input("Enter the first number: "))
b = int(input("Enter the second number: "))
if(a - b > 0):
print(a, "is greater")
else:
print(b, "is greater")

0 comments on commit bd94477

Please sign in to comment.