samedi 16 juillet 2016

Generating a random, non-prime number in python

How would I generate a non-prime random number in python? I am confused as to how I can create an algorithm that would produce a non-prime number in a certain range. Do I define a function or create a conditional statement?




Aucun commentaire:

Enregistrer un commentaire