From bd944776d37c5cf56e6af73e48e4f54f67d1d3dd Mon Sep 17 00:00:00 2001 From: sohongjaduuniv <72270226+sohongjaduuniv@users.noreply.github.com> Date: Fri, 2 Oct 2020 21:49:24 +0530 Subject: [PATCH] Create greattwono Greatest of Two Numbers in Python | Python Program to Print Greatest of Two Numbers --- greattwono | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 greattwono diff --git a/greattwono b/greattwono new file mode 100644 index 00000000000..60cf8dcee2d --- /dev/null +++ b/greattwono @@ -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")