find minimum value through recursion

前端 未结 0 1279
粉色の甜心
粉色の甜心 2020-11-21 16:39

I tried the following code in python but it gives error of list index out of range. Can anyone help

def mini2(x):
    n=0
    min1=x[n]
    if min1>x[n+1]:         


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