摘要:
This inspection detects names that should resolve but don't. Due to dynamic dispatch and duck typing, this is possible in a limited but useful number 阅读全文
摘要:
random 模块函数简介 choice() 从序列中获取一个随机元素。list, tuple, string都属于sequence randint() 用于生成一个指定范围内的整数。其中参数a是下限,参数b是上限,生成的随机数n: a <= n <= b random() 用于生成一个0到1的随机 阅读全文