Question
for python Guessing Game Goal: create a guessing game. This program will ask the user how many dice to roll, then allow the user
""" for python Guessing Game
Goal: create a guessing game. This program will ask the user how many dice to roll, then allow the user to keep guessing what the total value of dice sum is until they get it correct.
If the user guesses too high, you should output "Too high" If the user guesses too low, you should output "Too low"
import random
def dice_list(): """Create and return a list of die faces"""
### YOUR CODE HERE ###
def dice_roll(): """ Return a randomly selected die face from the list of dice faces that is returned from calling dice_list() """ ### YOUR CODE HERE ###
def roll_lots_of_dice(how_many=1): """Return a list of "rolled dice"."""
### YOUR CODE HERE ###
def get_dice_value(die_face): """ Returns the INTEGER value of a die face."""
### YOUR CODE HERE ###
def add_up_rolled_dice_faces(list_of_rolled_faces): """ Returns the sum of a list of rolled die faces."""
### YOUR CODE HERE ###
if __name__ == "__main__": """ Task 1: Ask the user how many dice they would like to roll, and allow the user to guess what the total value is of the rolled dice until they get it right.
Give the user hints such as "too high" or "too low" to help them out after each guess. """
### YOUR CODE HERE ###
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started