Random Function?

0 Steven Yohanes · April 14, 2015
Can someone show me how to use random function in python? need help here, thank you :D 

Post a Reply

Replies

Oldest  Newest  Rating
0 Juan Grasso · April 14, 2015
import random

var = random.randint(0,10)
0 Bernard Pyc0d333 Parah · April 14, 2015
i'd suggest you  check the docs too.
https://docs.python.org/3/library/random.html?highlight=random#module-random
  • 1

Python

107,174 followers
About

This section is all about snakes! Just kidding.

Links
Moderators
Bucky Roberts Administrator