Listing Prime Numbers

Fertiggestellt Veröffentlicht vor 6 Jahren Bezahlt bei Lieferung
Fertiggestellt Bezahlt bei Lieferung

I need you to develop some program for me. I would like this program to be developed using Python.

Write a program to list prime numbers for a user.

Recall that a positive integer n is called "prime" if n has exactly two

divisors: 1 and n.

(Note that 1 is NOT a prime number; it only has 1 divisor.)

How to do this: Let the user give three choices:

1. A positive integer, a, for the first prime to start the list.

2. Which they want:

2a. How many consecutive prime numbers to list, starting at a, or

2b. the last number b (with b > a) to consider for the list.

3. The number corresponding to the choice in #2.

Hint: When checking if a number m is prime, you only need to check

possible divisors up to the square root of m. (Think about why!)

Compute the list according to the user's specifications,

print the list to the user, and ask if they want to do it all again.

If they do, be sure you are able to re-use the list you have just computed!

Mac OS Python Softwarearchitektur

Projekt-ID: #15467068

Über das Projekt

6 Vorschläge Remote Projekt Aktiv vor 6 Jahren

Vergeben an:

ThanassisKalv

Hi! I can write a correct small program for this quite quickly. Just tell me until when you need it ready Thanks Relevant Skills and Experience python coding Proposed Milestones $22 USD - is ok?

$22 USD in 0 Tagen
(108 Bewertungen)
6.3

6 Freelancer bieten im Durchschnitt $23 für diesen Job

Weebside

I m software engineer. I have read the description and I would like to work for you. For further details please inbox me. Thank you Relevant Skills and Experience I m software engineer. I have read the description and Mehr

$25 USD in 1 Tag
(41 Bewertungen)
4.8
anuragbharadwaj

I am a competitive coding enthusiast and this is a cakewalk for me

$25 USD in 1 Tag
(3 Bewertungen)
3.3
leandes

Professional Developer using Python. Develop require program.

$25 USD in 1 Tag
(2 Bewertungen)
2.9
mostafaelshazly0

Consider it done, it will take me less than an hour ;) Relevant Skills and Experience Attended some heavy Algorithmic courses,Problem solver, Python expert, so this is no problem for me ;) Stay tuned, I'm still work Mehr

$15 USD in 1 Tag
(6 Bewertungen)
2.2