diff --git a/README.md b/README.md index de919df..f6d75a3 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 - +o start a Python interactive session, just open a command-line or terminal and then type in python, or python3 depending on your Python installation, and then hit Enter. ``` \ No newline at end of file diff --git a/script.py b/script.py index 6e2f59b..d68f463 100644 --- a/script.py +++ b/script.py @@ -27,3 +27,9 @@ # INSERT YOUR CODE BELOW THIS LINE ######### + +result=[] +for x in range(2000, 3200): + if (x%7==0) and (x%5>0): + result.append(str(x)) +print (','.join(result))