From 5f000a47bbdd4df0e3928c391fdc7256cb1c8f92 Mon Sep 17 00:00:00 2001 From: davidjava1991 <94968889+davidjava1991@users.noreply.github.com> Date: Thu, 6 Oct 2022 06:52:44 +0530 Subject: [PATCH 1/2] Add files via upload --- Section1/lecture1/Program1.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Section1/lecture1/Program1.py diff --git a/Section1/lecture1/Program1.py b/Section1/lecture1/Program1.py new file mode 100644 index 0000000..ef68f33 --- /dev/null +++ b/Section1/lecture1/Program1.py @@ -0,0 +1,11 @@ +# Python program to check a number is even or odd +def checkEven(num): + if num%2 == 0: + return True + else: + return False +n = int(input("Enter Number \n")) +if(checkEven(n)): + print(n," is Even") +else: + print(n," is Odd") From acf78b77a3a4224901a9c859bff3efecc6e0282d Mon Sep 17 00:00:00 2001 From: davidjava1991 <94968889+davidjava1991@users.noreply.github.com> Date: Thu, 6 Oct 2022 06:54:23 +0530 Subject: [PATCH 2/2] Add files via upload
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: