From 5e67532273d0d62535dcbe5b1d109961b28a3123 Mon Sep 17 00:00:00 2001 From: GANESH CHANDRAN Date: Wed, 13 Nov 2024 22:14:28 +0530 Subject: [PATCH] Add files via upload --- Day-5/ganesh5.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Day-5/ganesh5.py diff --git a/Day-5/ganesh5.py b/Day-5/ganesh5.py new file mode 100644 index 0000000..a67fde4 --- /dev/null +++ b/Day-5/ganesh5.py @@ -0,0 +1,17 @@ +'''AUTHOR:GANESH +13/11/24 +Functions''' + + +def smallest(num1,num2): + if num1>num2: + print(num1,"is Greater") + elif num2>num1: + print(num2,"is Greater") + else: + print("Both numbers are equal") + +num1=int(input("Enter a number:")) +num2=int(input("Enter a number:")) + +smallest(num1,num2)