Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Random

Goal
• Learn to use Random
• This enables us to create simple games
import random

random.randint(1, 6)

a = random.randint(1, 6)

random.uniform(0, 1)

0.3829013889032775

random.gauss(0, 1)

0.5194312539908772

You might also like