print result
question:
@parallel
....: def f(a,b): return gcd(a,b)
....: for X, Y in sorted(list(f([(f1,phi1),(f1 ,phi2),(f1,phi3),(f1,phi4),(f1,phi6),(f1,phi8),(f1,phi12),(f1 ,phi24)]))):
....: i=range(1,8)
....: print ((Y))
....:
1
1
z + 3
z + 3*a + 4
z + 2*a + 1
z^2 + 2
1
i want the above result in the following form after print command
z1=1
z2=1
z3=z + 3
z4=z + 3*a + 4
z5=z + 2*a + 1
z6=z^2 + 2
z7=1
please correct my code for the same
add a comment