Files
python-labs/TEMA8/Mod1.py

10 строки
163 B
Python

def reading (file):
nums = []
with open(file, 'r') as file:
for line in file:
nums.extend(map(float, line.split()))
return nums