Python random square movement not working

前端 未结 0 1726
孤独总比滥情好
孤独总比滥情好 2021-01-29 05:49

I am trying to make a square that repeatedly moves forward a random amount of pixels, but here\'s what happens:

gui.move(ai, random.randint(10, 100, 10), 0) # gui         


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