ответвлено от main/python-labs
10 строки
163 B
Python
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
|
|
|
|
|
|
|