From 9b400e0c8e85fd5787d75ec4cedf46793d6a7d35 Mon Sep 17 00:00:00 2001 From: hanmanthu007 Date: Fri, 4 Apr 2025 11:56:01 +0530 Subject: [PATCH] Create hanmanthu.py --- hanmanthu.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 hanmanthu.py diff --git a/hanmanthu.py b/hanmanthu.py new file mode 100644 index 00000000..96a5a78f --- /dev/null +++ b/hanmanthu.py @@ -0,0 +1,6 @@ +n=eval(input("enter the number:")) + if n%2==0: + print(f" number {n} is even") + else: + print(f" number {n} is odd") +