Question: write a phyton code Three people are playing a game of dice. A total of 6 points are distributed to the players in each round.

write a phyton code
Three people are playing a game of dice. A total of 6 points are distributed to the players in each round.
The player with the highest dice number gets 6 points. If the player with the highest dice number is two
each gets 3 points. If the dice numbers of all three players are equal, each player receives 2 points.
gets.
Write a Python function named zar_uclu that takes a string of the file name as input. File,
the names of the players separated by a blank character in the first line, and a blank character in the bottom lines.
Contains the corresponding membrane numbers separated.
The function must return the name of the winning player and the score the player gets in a string.
In the event of a tie, the function must return the names of all winning players.

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!