I was studying basics and I was going to make a dice game
2 players throw 5 times each to make a game in which a player with a larger sum wins.
As shown above, we have created a code to make the results come out randomly five times, but how do we convert it to the sum of the numbers in the results?
python
sum(diceP1)
562 Who developed the "avformat-59.dll" that comes with FFmpeg?
563 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
855 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
583 Uncaught (inpromise) Error on Electron: An object could not be cloned
© 2024 OneMinuteCode. All rights reserved.