From 9cd1e8d74fc9c905ce4e2c1d3649ddbd82b9284c Mon Sep 17 00:00:00 2001 From: Amanpahwa3 <73403593+Amanpahwa3@users.noreply.github.com> Date: Fri, 1 Oct 2021 00:11:42 +0530 Subject: [PATCH] Python code #636 --- Python greater | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Python greater diff --git a/Python greater b/Python greater new file mode 100644 index 0000000..3ca2254 --- /dev/null +++ b/Python greater @@ -0,0 +1,4 @@ +Python program to find the greatest of two numbers using the built-in function +num1 = int(input("Enter the first number: ")) +num2 = int(input("Enter the second number: ")) +print(max(num1, num2), "is greater")