From d9fff1977a5cafc4c787a19aafbec0cbc6612a6a Mon Sep 17 00:00:00 2001 From: Archit Gupta <47055964+architg27@users.noreply.github.com> Date: Fri, 11 Oct 2019 12:30:55 +0530 Subject: [PATCH] Create even-odd.py --- Python/Even_odd | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Python/Even_odd diff --git a/Python/Even_odd b/Python/Even_odd new file mode 100644 index 000000000..d471427b0 --- /dev/null +++ b/Python/Even_odd @@ -0,0 +1,6 @@ +def even_odd(): + n=int(input("Enter the number")) + if n%2 == 0: + print "Even no." + else: + print "Odd no."