Message367285
Code as requested is similar to the below:
N = <40 digit int>
sequence=range(1,N)
a = random.choice(sequence)
Since you class the error previously mentioned as an exception, what function should be used instead for choosing a random integer between 1 and including N-1? |
|
Date |
User |
Action |
Args |
2020-04-25 22:26:30 | dev00790 | set | recipients:
+ dev00790, mark.dickinson, steven.daprano |
2020-04-25 22:26:29 | dev00790 | set | messageid: <1587853589.94.0.48167982649.issue40388@roundup.psfhosted.org> |
2020-04-25 22:26:29 | dev00790 | link | issue40388 messages |
2020-04-25 22:26:29 | dev00790 | create | |
|