Python Dice Rolling Game
This game centers around a player facing a computer in a competition involving rolling a 20-sided die over multiple rounds.

The player should choose how many rounds they want to play when they start the game. For each round, the computer will roll a random number between 1 and 20. The player then has up to 10 rolls per round (each roll a random number between 1 and 20) to beat the computer's number by rolling a higher number.

In a given round, the player receives a certain number of points depending on how many tries it took to beat the number the computer rolled. The rules for how many points the player receives in each round is detailed below:
Player beats Points earned
computer in: by player:
1 try → 100 points
2 tries → 90 points
3 tries → 80 points
4 tries → 70 points
5 tries → 60 points
6 tries → 50 points
7 tries → 40 points
8 tries → 30 points
9 tries → 20 points
10 tries → 10 points

Doesn't win
in 10 tries → loses 100 points

At the beginning of each new round, the computer player rolls a new random number, the player gets 10 more tries to beat it, and the player receives the appropriate number of points.

In a given round, if the player beats the computer's roll before 10 tries, it should not attempt any of the other tries. For example, if the computer rolls a 5, and the player rolls a 3 and then a 7, beating it in 2 tries, then the round should end immediately (the other 8 rolls are not rolled).
At the end of the game, the program should show the player their total number of points accumulated (over all rounds played), the average points earned per round, the player's average roll, and the computer's average roll. All averages should be rounded to the nearest tenth.

I attached a picture of a sample output

Python Dice Rolling Game This game centers around a player facing a computer in a competition involving rolling a 20sided die over multiple rounds The player sh class=