Question: Would love the code for this! Thanks :) QUESTION 5 (5 MARKs) Write a program which implements a dice game. Name your program file 'YourUsernameA105.py',


Would love the code for this!
Thanks :)
QUESTION 5 (5 MARKs) Write a program which implements a dice game. Name your program file 'YourUsernameA105.py', e.g., afer023A1Q5.py. The aim of the game is to reach a score as close as possible to 100 (but not over 100) in three rounds. Each round consists of throwing five random dice, the user then chooses two of the dice values where the two dice values chosen form a two digit score which is added to the user's current total, e.g., if the user first chooses a dice with the value 3 and then a dice with the value 5, 35 is added to the user's total (the first dice chosen is the tens digit and the second dice chosen is the units digit). The random dice are displayed with one space between each dice, e.g., Your dice: 35 3 4 1 and to choose the dice the user enters a number 1, 2, 3, 4 or 5 indicating which of the five dice they wish to choose, i.e., the position of the dice (not the value of the dice). This process is repeated three times. Below is the statement which initialises the user's current score: current total0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
