I think your approach is fine, you might need to fine tune your algorithm.

hint below.











if you want it: is_p doesn't need to be nearly as big as you specify. There
are a couple other minor problems.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to