int 类型是没有长度的

  1. print len(1)

      TypeError: object of type 'int' has no len()

 @{ele}=           create list            hello
    ${lenth}=         get length     @{ele}

原文地址:https://www.cnblogs.com/gasx/p/7988613.html