From a04ad8f10574632abf7dfa5176acc145b1f87529 Mon Sep 17 00:00:00 2001 From: KimMinSeob <msmk530@ajou.ac.kr> Date: Sun, 2 Dec 2018 21:50:58 +0900 Subject: [PATCH] Upload New File --- ifand.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ifand.py diff --git a/ifand.py b/ifand.py new file mode 100644 index 0000000..0cc96ff --- /dev/null +++ b/ifand.py @@ -0,0 +1,14 @@ + + +print("enter the number:") + +b= int(input()) + +if b>10 and b%2 ==0: + print("this number bigger than 10 and even") +elif b>10 and b%2 ==1: + print("this number bigger than 10 and odd") +elif b%2 ==0: + print("this number smaller than 10 and even") +else: + print("this number smaller than 10 and odd") -- GitLab