Solution for IndexError: list assignment index out of range

前端 未结 0 578
南旧
南旧 2020-12-20 09:16

This is the code

def countApplesAndOranges(s, t, a, b, apples, oranges):
    ap=[]
    oran=[]
    for i in range(len(apples)) :
        ap[i]=apples[i]+a
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题