From 06ef2b37e302012a7af84f7748ad618fce057b72 Mon Sep 17 00:00:00 2001 From: arpit05va <72192202+arpit05va@users.noreply.github.com> Date: Fri, 8 Oct 2021 18:49:23 +0530 Subject: [PATCH] Create a.py --- a.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 a.py diff --git a/a.py b/a.py new file mode 100644 index 0000000..1413973 --- /dev/null +++ b/a.py @@ -0,0 +1,10 @@ +# Python program to print odd Numbers in given range + +start, end = 4, 19 + +# iterating each number in list +for num in range(start, end + 1): + + # checking condition + if num % 2 != 0: + print(num, end = " ")