roll random randint( if dice =goldroll gold die ( stars questions skull)if <roll < rollresults append(star_facestars + elif <roll < rollresults append(question_faceelserollresults append(skull_faceskulls + if dice =silverroll silver die ( stars questions skulls)if <roll < rollresults append(star_facestars + elif <roll < rollresults append(question_faceelserollresults append(skull_faceskulls + if dice =bronzeroll bronze die ( star questions skulls)if roll = rollresults append(star_facestars + elif <roll < rollresults append(question_faceelserollresults append(skull_faceskulls + display roll resultsfor linenum in range(face_height)for dicenum in range( )print(rollresults[dicenum][linenum'end=''print(print newline display the type of dice each one is (goldsilverbronze)for dicetype in handprint(dicetype center(face_width'end=''print(print newline print('stars collected:'starsskulls collected:'skullscheck if they've collected or more skullsif skulls > print(' or more skulls means you\'ve lost your stars!'input('press enter to continue 'break print(playernames[turn'do you want to roll againy/ 'while truekeep asking the player until they enter or nresponse input(''upper(if response !'and response[ in (' '' ')lucky stars