+ 1
How to use random in python?
I want to learn.
3 odpowiedzi
+ 3
You need to import random by this comend:
Import random
And then use the randint function like this:
Var = random.randint(num,higher num)
+ 2
I am not be able to enter on the site.
+ 1
It's not difficult to dig resources out of the web.
This is very exhaustive with examples:
https://pynative.com/JUMP_LINK__&&__python__&&__JUMP_LINK-random-module/
Happy learning