- Produce one or more random integers in the range -5,5
- Randomly choose from a sequence like ('Sam', 'Sue', 'Bill')
- Randomly choose a number between 1 and 3. Ask the user for a guess. Tell the user if the guess is right.
- Display the result of rolling two six-sided dice
- Use randint or choice to add an element of randomness to a program of your own design
Blog Moved to davebsoft.com
8 years ago