Mar-27-2020, 01:11 PM
Hi! Thank you for the reply & sorry for the late reply, but when I modified dice_roll function, I got an error:
File "C:/Users/FatherYeals/PycharmProjects/DiceGame2/Dice Game1.py", line 14, in <module>
player1_roll = dice_roll() + dice_roll()
TypeError: dice_roll() missing 1 required positional argument: 'player_name'
File "C:/Users/FatherYeals/PycharmProjects/DiceGame2/Dice Game1.py", line 14, in <module>
player1_roll = dice_roll() + dice_roll()
TypeError: dice_roll() missing 1 required positional argument: 'player_name'