Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 721 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 721 Bytes

Assignment Instruction

Please write a python script that will print all prime numbers in a given range. Please leave comments in your script. Only Python and Python modules that could be installed via conda or pip could be used in this assignment.

This assignment is 5% of your total grade.

Expected result

Please input a number:
50
There are 15 prime numbers less than 50.
They are:
2,3,5,7,11,13,17,19,23,29,31,37,41,43,47

Submission

Please submit your python scripts (.py) via Moodle NCKU. If your scripts come with an instruction, please upload it along with the Python script.

For the deadline, please refer to Moodle.

Late submission is accepted yet the score will be lower by 2 tiers.