Wrong value in randint
Closed this issue · 2 comments
alessandrozito98 commented
RL-generator-2020-2021/main.py
Line 30 in f235d93
I think that the values in the random.randint functions should be 0,255 and not 0,256 just because 256 is not a possible value.
davidemerli commented
Yeah you're right, I also corrected the same thing with the other range (1, 128) since I mistakenly assumed the randint
behaved like range
, but forgot about this.
Will fix right now
davidemerli commented
Done