Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Q: Would like to understand how to make this program function, please. Python is

ID: 3788533 • Letter: Q

Question

Q: Would like to understand how to make this program function, please. Python is the languge I am being thought at this moment.

"Pig" is a very simple game. Two players take turns; on each turn, a player rolls a six-sided die ("die" is the singular of "dice") as many times as she wishes, or until she rolls a 1. Each number she rolls, except a 1, is added to her score this turn; but if she rolls a 1, her score for this turn is zero, and her turn ends. At the end of each turn, the score for that turn is added to the player's total score. The first player to reach or exceed 100 wins.

def main():

def instructions():
  
def human_move(computer_score,   human_score):

def computer_move(computer_score,human_score):

def is_game_over(computer_score,human_score):

def   roll():

def   ask_yes_or_no(prompt):

def   show_results(computer_score,   human_score):

Explanation / Answer

main.py

======================================================================