Python报错ValueError: arrays must all be same length

 if len(st) > len(myt):
      myt += [None] * (len(st) - len(myt))
 else:
      st += [None] * (len(myt) - len(st))
Logo

汇聚全球AI编程工具,助力开发者即刻编程。

更多推荐