Python 空数组用法

来源:互联网 发布:8月份美国非农数据 编辑:程序博客网 时间:2024/06/03 04:07
Python 空数组
Python array 用法  
直接 result=[]
    for x in range(0,N):
        temp=beta(b,n)
        print temp
        if temp >= n:
            result.append("Yes")  #直接append
        else:
            result.append("No") #直接append
    return result
原创粉丝点击