Do Now 3.01
In your Console
Type the following code
import random
random.randint(0, 3)
random.randint(0, 3)
print(random.randint(0, 3))
print(random.randint(0, 3))
print(random.randint(0, 3))
In your Notebook
Respond to the following
- What does randint do?
- What do the values
0and3do? Try changing those numbers, rerun the program, and write down what changed. - What is the difference between
random.randint(0,3)andprint(random.randint(0,3))?