Files
ResInsight/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/SoilAverageNoComm.py
Gaute Lindkvist 824ec5cef6 Python: Rename example directory to PythonExamples
* This is so that when we add the folder to the Script Path it will look more sensible to the user.
2019-08-19 08:46:09 +02:00

17 lines
198 B
Python

import sys
import os
averages = []
for i in range(0, 10):
values = []
sum = 0.0
count = 0
for j in range(0, 1199516):
sum += j
count += 1
averages.append(sum / count)
print (averages)