#等比数列

python 等比数列

 defis_geometric(li):iflen(li)<=1:returnTrue#Calculateratioratio=li[1]/float(li[0])#Checktheratiooftheremainingforiinrange(1,len(li)):ifli[i]/float(li[i...
代码星球 ·2020-08-09