diff --git a/README.md b/README.md index de919df..915fb94 100644 --- a/README.md +++ b/README.md @@ -21,5 +21,5 @@ HINT: Consider use range(#begin, #end) method B. Update this README.md with the insctruction(s) needed to run that script ```shell - +$python3 script.py ``` \ No newline at end of file diff --git a/script.py b/script.py index 6e2f59b..86053ab 100644 --- a/script.py +++ b/script.py @@ -26,4 +26,8 @@ ######### # INSERT YOUR CODE BELOW THIS LINE ######### - +nl=[] +for x in range(2000, 3200): + if (x%7==0) and (not x%5==0): + nl.append(str(x)) +print (','.join(nl))