How to pack spheres in python?,r = [(1) for i in range(n)]