摘要:
本文用Python模拟随机漫步行为。 1 使用内建的的random模块 import random position = 0 walk = [position] steps = 1000 for i in range(steps): step = 1 if random.randint(0, 1) 阅读全文
posted @ 2021-03-27 12:20
分析101
阅读(345)
评论(0)
推荐(0)
浙公网安备 33010602011771号