From 5907cb70f531a6f85440a6c857d2454172974a3b Mon Sep 17 00:00:00 2001 From: Code Lover <139486665+Codelover-python@users.noreply.github.com> Date: Thu, 13 Jul 2023 21:56:08 +0530 Subject: [PATCH] Python program to check whether the give number is odd or even code. --- ... check whether the give number is odd or even code. | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Python program to check whether the give number is odd or even code. diff --git a/Python program to check whether the give number is odd or even code. b/Python program to check whether the give number is odd or even code. new file mode 100644 index 0000000..bc76fd3 --- /dev/null +++ b/Python program to check whether the give number is odd or even code. @@ -0,0 +1,10 @@ +# A simple Python program to show wether the given number is positive or negative using the if-else statement. +# The variable that I have used over here is m and an value can suffice in this project. +m = 23 + +# Using the if-else statement +if m >= 0: + print("This is a positive integer") + +else: + print("This is a negative integer")