[Tutor] Inclusivity

Michael Deslippe 1611kjb at gmail.com
Sat Jun 13 12:27:49 EDT 2020


When generating a random integer, ala;

myNum = random.randint(0, 1000000)

Is the range of integers inclusive or exclusive of the seed values (eg. will the range of possible answers include or exclude 0 and 1000000)?


---Mike


More information about the Tutor mailing list