There is some code

```
import math
class Vector():
def __init__(self,vx,vy,vz):
self.x=vx
self.y=vy
self.z=vz
def norm(self):
xx=self.x**2
yy=self.y**2
zz=self.z**2
return math.sqrt(xx+yy+zz)
```

Now in the run file

```
import math
import numpy as np
from Desktop import Test
def random_range(n, min, max):
return min + np.random.random(n) * (max - min)
x=random_range(20,2,9)
y=random_range(20,2,9)
z=random_range(20,2,9)
trial_args = np.stack((x, y, z), axis=-1)
for x, y, z in trial_args:
model=Test.Vector(x,y,z)
if model.norm()>5:
print(x, y, z, '=>', model.norm())
```

I want to get each (x,y,z) output in a seperate output file named 1,2,3β¦20 so how to do this job with these codes