From b4ef6640ade334af36b0254b1de010c64841eac6 Mon Sep 17 00:00:00 2001 From: BasmaBenNasr Date: Wed, 4 Nov 2020 17:47:49 +0100 Subject: [PATCH] done --- README.md | 5 ++++- script.py | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index de919df..d7da257 100644 --- a/README.md +++ b/README.md @@ -22,4 +22,7 @@ HINT: Consider use range(#begin, #end) method B. Update this README.md with the insctruction(s) needed to run that script ```shell -``` \ No newline at end of file +``` + +open the file with vs code and i tried it with python file too but it didnt work +but in vs code i was able to right click and run the command in python terminal \ No newline at end of file diff --git a/script.py b/script.py index 6e2f59b..e7fc25f 100644 --- a/script.py +++ b/script.py @@ -27,3 +27,10 @@ # INSERT YOUR CODE BELOW THIS LINE ######### +num = [] +for i in range(200,3201): + if(i%7==0) and (i%5 !=0): + num.append(str(i)) + +print ','.join(num) +