This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author joesatriani
Recipients joesatriani
Date 2018-05-04.03:07:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1525403240.67.0.682650639539.issue33424@psf.upfronthosting.co.za>
In-reply-to
Content
range function second parameter is excluded. Hence for x in range(2, n): will not execute when n = 2, and "2 is a prime number" will never appear.
Moreover, might need a break in the else block too.
History
Date User Action Args
2018-05-04 03:07:20joesatrianisetrecipients: + joesatriani
2018-05-04 03:07:20joesatrianisetmessageid: <1525403240.67.0.682650639539.issue33424@psf.upfronthosting.co.za>
2018-05-04 03:07:20joesatrianilinkissue33424 messages
2018-05-04 03:07:20joesatrianicreate