0

Can you give me an example of a simple code where random.randit() is use

Actually i have forgot that topic

3rd Apr 2019, 10:04 AM
Tobi
Tobi - avatar
2 Answers
0
Hey, random.randit() or random.randint() ? I suppose u forgot an "n"
3rd Apr 2019, 10:17 AM
Sebastian
Sebastian - avatar
0
In case u mean random.randint(): Here is ur example: a = random.randint(2,5) a has the return value. It's something between 2 and 5 (only Integers of course)
3rd Apr 2019, 10:21 AM
Sebastian
Sebastian - avatar