0
点赞
收藏
分享

微信扫一扫

cyclone list to python tuple!

程序员伟杰 2024-01-17 阅读 10
  • 背景
  • python 有 list 和 tuple
  • cyclone 只有 list (被称为 array)
  • python return 多个值
  • python tuple
  • cyclone list
  • python to cyclone
  • python list
  • to_cyclone list
  • to_python tuple!
  • 单个元素的tuple 末尾有, 确实是tuple
  • python tuple
  • to_cyclone list
  • 证明cyclone的list (被称为 array) 其实是python的 tuple
  • 或者说cyclone的list 传入python 会是tuple
  • 而python的list和tuple 传入cyclone 都是list(被称为 array)


  • 请忽略以下内容, 如果你觉得混淆
  • cyclone里被称为array的
  • 长得像list 因为是[]
  • 其实是tuple 传入python就是tuple 是()
  • 也不是numpy.array
举报

相关推荐

0 条评论