1. 程式人生 > >Python 空陣列用法

Python 空陣列用法

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