Take a look at the order of arguments in your rollDice
function.
#this function will get the random values
def rollDice(winnerName, playerOne, playerTwo):
....
....
It is expecting winnerName
as the first argument. In your main
function you have it set as the last argument.
Change this:
winnerName = rollDice(playerOne, playerTwo, winnerName)
to this:
winnerName = rollDice(winnerName, playerOne, playerTwo)
Hope this helps.