+ 2

Difference between randint and randrange

i belive they are the same. if not what is the main difference between randrange and randint

22nd Jan 2018, 5:26 AM
stephen haokip
stephen haokip - avatar
1 Answer
+ 3
If you know Both interval limits then use randint. Otherwise use randrange.
22nd Jan 2018, 5:34 AM
Elias Papachristos
Elias Papachristos - avatar