Discuss / Python / 取出前一半的

取出前一半的

Topic source
n=0
d=[]
while n<(a/2):
    d.append(l[n])
    n=n+1

  • 1

Reply