使用-robot【使用外部库】【random】

  1. 外部库random的使用
#错误
${ran int}=    Evaluate random.randint(0, sys.maxsize)


# 正确
I'm surprised the randint() doesn't work for you - did you use the correct syntax, Evaluate must point/end with the external module you're using, "random" in this case?
${ran int}=    Evaluate    random.randint(0, sys.maxsize)    random
上一篇:斐波拉契序列的 Go 实现


下一篇:【大话数据结构C语言】53 斐波那契查找(黄金分割法查找)