Skip to content. | Skip to navigation

Personal tools
You are here: Home Computer Programming Instruction for Students DVC College for Kids More Challenging Python Problems

More Challenging Python Problems

Some more challenging programming problems for the Python class

More Challenging Python Problems

Random choice from a list

  1. Create a list
  2. Prompt for some words, and collect them in a list
  3. Choose one of the words randomly and display it

Two Dice Throw

Simulate throwing two dice

Histogram of Dice Throw Results

1. Simulate throwing two dice, and display the counts of each outcome