Question: Python, A game that ask user for the total number of players to play the game. Ask for each player name and store all players
Python,
A game that ask user for the total number of players to play the game. Ask for each player name and store all players in a List.
Each player will guess an answer which is a number from 1 to 30. The order for each player to guess a number is based on the order of the player names entered.
The answer is generated randomly.
The game will continue playing where each player continue to guess until a player guessed the answer.
If the answer is guessed by one of the players, printout the winner and print out and ask the player to press ENTER to continue playing or any letter to stop.
If ENTER is pressed, continue a new game and play the game. If any letter is pressed, stop the game.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
