座机 发表于 2018-8-16 08:43:04

python的列表竟然可以与数字比较

  在python 2 版本中出现
>>> a =   
>>> a >3
  
True
  python 3中该问题不出现


页: [1]
查看完整版本: python的列表竟然可以与数字比较