How to change the 2nd player to a computer in the nim sum game?

前端 未结 0 433
-上瘾入骨i
-上瘾入骨i 2021-02-08 02:59
import random
  
def main():
    # Define an empty rocklist to append rocks to, define random integers, call functions
    rockList = []
    randPile = random.randint(2,         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题