From 2a2c29cec0401ac597251062e6eebb760f0852b9 Mon Sep 17 00:00:00 2001 From: Suresh-2006 <149347611+Suresh-2006@users.noreply.github.com> Date: Tue, 20 May 2025 18:22:52 +0530 Subject: [PATCH] Update Conditional Statements in Python: Even or Odd Checker.md --- ...nal Statements in Python: Even or Odd Checker.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Conditional Statements in Python: Even or Odd Checker.md b/Conditional Statements in Python: Even or Odd Checker.md index 2b62af3d1..d79c2cfe3 100644 --- a/Conditional Statements in Python: Even or Odd Checker.md +++ b/Conditional Statements in Python: Even or Odd Checker.md @@ -12,7 +12,18 @@ To write a Python program to check whether the given number is **even** or **odd 4. End the program. ## 🧾 Program +``` +a=int(input()) +if(a%2==0): + print("EVEN") +else: + print("ODD") +``` ## Output +![image](https://github.com/user-attachments/assets/b21884d4-c636-44fa-b3f7-ca1a16714568) + + +## Result: +Thus, the python program to check whether the given number is even or odd is done and executed successfully. -## Result