How do I generate random numbers in Python !
Using random module, you can generate random number from 0 to 1 in float format.
import random
rannum = random.random()
Here is an example!
import random
rannum = random.random()
Here is an example!
댓글
댓글 쓰기