from random import * # By using variables, the code is easier to understand brain = 1 steps = 2 blast = 3 # Finish this line: How many brains does this dice have? Steps? Blasts? greenDice = [brain, brain, brain, steps, steps, blast] # Finish this line: How many brains does this dice have? Steps? Blasts? yellowDice = [] # Finish this line: How many brains does this dice have? Steps? Blasts? redDice = [] def getDiceColor(dice): if dice == greenDice: return "green" if dice == yellowDice: return "yellow" if dice == redDice: return "red" def getDiceFace(result): if result == brain: return "brain" if result == steps: return "foot steps" if result == blast: return "blast" # Finish this line: how many of each dice type are there? allDice = [ greenDice, yellowDice, redDice, greenDice ] # How many dice do you roll in a turn. Replace ?? for rollTry in range(??): pickDice = choice( allDice ) # What do you think this does? rollResult = choice( pickDice ) # What do you think this does? print "You picked a "+getDiceColor(pickDice)+" dice. The roll result was: "+getDiceFace(rollResult)