79632842

Date: 2025-05-21 22:41:20
Score: 2
Natty:
Report link

Python mathGame: start with the numbers 1-12. theb each turn, the player rolls 2 dice; you will display each roll. the player can then remove either of the numbers rolled, or their sum. If the player successfully removes all of the numbers in the list, the player wins. If there are no moves that the player can make with th roll, then the player loses. what is the code for this? You will need the random module; import that from Python library as one of the early lines of code. You'll work with a list of data; call them strings to make things easier later(use qutations around each number in the list). Remeber the dice roll code copy and revise it t use 2 dice rolls.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: UGK-ONE