I have asked in here, but I still don't know how to simplify following code
{\z1,\z2,...,\z100}::Weight(label=field, value=0);
I have tried
for i in range(101):
Weight(Ex(r'\y'+str(i)),label=field, value=0)
and
for i in range(101):
Ex(r'\y'+str(i)+r'::Weight(label=field, value=0)')
but they don't work. How to implement it?