Question: In PYTHON: Ask how many players there are For each player Ask the player's name Roll a die for the player and store their score

In PYTHON:

  1. Ask how many players there are
  2. For each player
    1. Ask the player's name
    2. Roll a die for the player and store their score
    3. Use a dictionary with the name as key and die roll as value
  3. Print out the player's name who has the highest score

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!