From c048ecf2cdbd5e7ef13494cad59c5ea4e6c4251e Mon Sep 17 00:00:00 2001 From: Kais Temimi Date: Wed, 4 Nov 2020 17:34:48 -0800 Subject: [PATCH] python --- README.md | 1 + script.py | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index de919df..c1d296e 100644 --- a/README.md +++ b/README.md @@ -22,4 +22,5 @@ HINT: Consider use range(#begin, #end) method B. Update this README.md with the insctruction(s) needed to run that script ```shell +python commande : python script.py ``` \ No newline at end of file diff --git a/script.py b/script.py index 6e2f59b..c937cad 100644 --- a/script.py +++ b/script.py @@ -25,5 +25,13 @@ ######### # INSERT YOUR CODE BELOW THIS LINE +l = [] +for i in range(2000, 3201): + if (i % 7 == 0) and (i % 5 !=0): + l.append(str(i)) + +print ','.join(l) ######### + +