Difference between randint and randrange | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponse
+ 3
If you know Both interval limits then use randint. Otherwise use randrange.
22nd Jan 2018, 5:34 AM
Elias Papachristos
Elias Papachristos - avatar