diff --git a/README.md b/README.md index de919df..49c92a6 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 +``` +for x in range(2000, 3001): + if (x%7==0) and (x%5 !=0): + print(x) \ No newline at end of file diff --git a/script.py b/script.py index 6e2f59b..62e9bf8 100644 --- a/script.py +++ b/script.py @@ -27,3 +27,6 @@ # INSERT YOUR CODE BELOW THIS LINE ######### +for x in range(2000, 3001): + if (x%7==0) and (x%5 !=0): + print(x)